no oldconfig, instead do a olddefconfig

This commit is contained in:
Pratham Patel 2023-12-23 19:27:14 +05:30
parent d43e03789c
commit 988cbdf629
No known key found for this signature in database

View File

@ -599,14 +599,12 @@ pushd linux-%{KVERREL} > /dev/null
%ifarch x86_64 || aarch64
cp config-%{_target_cpu} .config
%{__make} ARCH=%{bldarch} oldconfig
%if %{signkernel} || %{signmodules}
cp %{SOURCE23} certs/
%endif
%if %{with_std}
%{make} %{?_smp_mflags} ARCH=%{bldarch} %{make_target}
%{make} %{?_smp_mflags} ARCH=%{bldarch} olddefconfig %{make_target}
%{make} %{?_smp_mflags} ARCH=%{bldarch} modules || exit 1