try creating a defconfig of RHEL's config and using that as the base

This commit is contained in:
Pratham Patel 2023-10-16 12:20:03 +05:30
parent 6b4da949f6
commit c140bcd974
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,10 @@ cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
rm -rf kernel-tfg/
./configure-linux.sh
%{make} savedefconfig
cp defconfig arch/%{build_arch}/configs/defconfig
%{make} defconfig
%build
%{make} PYTHON=%{__python3} %{make_targets}