From de17b76b2534cfcd50e21c6b5d28f453e254635c Mon Sep 17 00:00:00 2001 From: Thorsten Leemhuis Date: Thu, 2 Sep 2021 07:20:23 +0200 Subject: reenable bpftool btf dump --- kernel.spec | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit