Added missing macros with_std

i9-ispras-fuzzing-kmsan
ebasov 2 weeks ago
parent d26e377264
commit 2fe9a13c66
Signed by: ebasov
GPG Key ID: 23356EDA24E5499D

@ -599,7 +599,7 @@ Package contains the Linux kernel with KMEMLEAK support.
%global _build_id_links none
# Set up our "big" %%{make} macro.
%global make %{__make} %{?make_opts} -s HOSTCFLAGS="%{?build_cflags}" HOSTLDFLAGS="%{?build_ldflags}"
%global make %{__make} %{make_opts} -s HOSTCFLAGS="%{?build_cflags}" HOSTLDFLAGS="%{?build_ldflags}"
%prep
%ifarch x86_64 aarch64
@ -820,6 +820,7 @@ BuildKernel() {
perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{KVERREL}\"/" .config
%if %{with_std}
%{make} %{?_smp_mflags} ARCH=%{bldarch} %{make_target}
%{make} %{?_smp_mflags} ARCH=%{bldarch} modules || exit 1
@ -834,6 +835,7 @@ BuildKernel() {
RPM_VMLINUX_H=vmlinux.h
%endif
%endif
%endif
%ifarch x86_64 aarch64
mkdir -p $RPM_BUILD_ROOT

Loading…
Cancel
Save