summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkernel.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec
index cdda9c057..86dd4fd1f 100755
--- a/kernel.spec
+++ b/kernel.spec
@@ -545,7 +545,9 @@ BuildRequires: net-tools, hostname, bc, elfutils-devel
BuildRequires: dwarves
BuildRequires: python3-devel
BuildRequires: gcc-plugin-devel
+%ifnarch %{nobuildarches}
BuildRequires: bpftool
+%endif
%if %{with_headers}
BuildRequires: rsync
%endif