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