summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2021-09-02 07:20:23 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2021-09-02 07:20:23 +0200
commitde17b76b2534cfcd50e21c6b5d28f453e254635c (patch)
tree7ff5d4dfedbcc7916b565494ceddcb4a1a444321
parent09914d5820771a28e0f7088127cd3f79700d61df (diff)
downloadkernel-de17b76b2534cfcd50e21c6b5d28f453e254635c.tar.gz
kernel-de17b76b2534cfcd50e21c6b5d28f453e254635c.tar.xz
kernel-de17b76b2534cfcd50e21c6b5d28f453e254635c.zip
reenable bpftool btf dump
-rwxr-xr-xkernel.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel.spec b/kernel.spec
index 80c8ab91c..6297f6ec7 100755
--- a/kernel.spec
+++ b/kernel.spec
@@ -2089,11 +2089,7 @@ BuildKernel() {
%ifnarch armv7hl
# Generate vmlinux.h and put it to kernel-devel path
-
- # tmp disabled for vanilla builds, as it fails on x86_64 with
- # "Error: failed to load BTF from vmlinux: No such file or directory"
- # (and yes, the file exists)
- # bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h
+ bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h
%endif
# prune junk from kernel-devel