From c74d9c2380cf94d663aaf57a2dec70295dc9fdb9 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Sun, 16 Oct 2022 10:47:54 -0500 Subject: [PATCH] Turn off vmlinux.h generation again for f37 Signed-off-by: Justin M. Forbes --- kernel.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel.spec b/kernel.spec index d07e617d6..b4d8b2efe 100755 --- a/kernel.spec +++ b/kernel.spec @@ -2194,13 +2194,13 @@ BuildKernel() { # the F17 UsrMove feature. ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build -%ifnarch armv7hl +# %ifnarch armv7hl # Generate vmlinux.h and put it to kernel-devel path # zfcpdump build does not have btf anymore - if [ "$Variant" != "zfcpdump" ]; then - bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h - fi -%endif +# if [ "$Variant" != "zfcpdump" ]; then +# bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h +# fi +# %endif # prune junk from kernel-devel find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -delete