|
|
@ -774,8 +774,7 @@ BuildKernel() {
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_bpftool}
|
|
|
|
%if %{with_bpftool}
|
|
|
|
# Generate a vmlinux.h file.
|
|
|
|
# Generate a vmlinux.h file.
|
|
|
|
find . -name vmlinux
|
|
|
|
bpftool btf dump file %{_builddir}/%{name}-%{version}/linux-%{KVERREL}-${Variant}/vmlinux format c > tools/bpf/bpftool/vmlinux.h
|
|
|
|
bpftool btf dump file vmlinux format c > tools/bpf/bpftool/vmlinux.h
|
|
|
|
|
|
|
|
RPM_VMLINUX_H=vmlinux.h
|
|
|
|
RPM_VMLINUX_H=vmlinux.h
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|