use RHEL config without savedefconfig-ing it

This commit is contained in:
Pratham Patel 2023-10-19 07:51:10 +05:30
parent dd712e845e
commit e4d04dfdd2
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

View File

@ -95,13 +95,17 @@ export LLVM=1 AR=llvm-ar CC=clang HOSTAR=llvm-ar HOSTCC=clang HOSTCXX=clang++ HO
[ -f .config ] && rm -vf .config*
%{make} distclean
%{make} defconfig
cp %{SOURCE3} .config
tar -xf %{SOURCE2} -C .
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}