always use elrepo config
This commit is contained in:
parent
c21a2a2459
commit
6262503521
@ -95,16 +95,12 @@ export LLVM=1 AR=llvm-ar CC=clang HOSTAR=llvm-ar HOSTCC=clang HOSTCXX=clang++ HO
|
|||||||
[ -f .config ] && rm -vf .config*
|
[ -f .config ] && rm -vf .config*
|
||||||
%{make} distclean
|
%{make} distclean
|
||||||
|
|
||||||
%if "%{kname}" == "stable" || "%{kname}" == "lts"
|
|
||||||
%{make} defconfig
|
|
||||||
%else
|
|
||||||
cp %{SOURCE3} .config
|
cp %{SOURCE3} .config
|
||||||
|
|
||||||
tar -xf %{SOURCE2} -C .
|
tar -xf %{SOURCE2} -C .
|
||||||
cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
|
cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
|
||||||
rm -rf kernel-tfg/
|
rm -rf kernel-tfg/
|
||||||
./configure-linux.sh
|
./configure-linux.sh
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{make} PYTHON=%{__python3} %{make_targets}
|
%{make} PYTHON=%{__python3} %{make_targets}
|
||||||
|
Loading…
Reference in New Issue
Block a user