remove all the extra configs on top of defconfig; this is plain defconfig
This commit is contained in:
parent
ea94d120d9
commit
bc2756c2ae
@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -xeu
|
|
||||||
|
|
||||||
find ./extra-configs -name "*.sh" -exec "{}" \;
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
./scripts/config --file .config --enable DEBUG_INFO_BTF
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
./scripts/config --file .config --enable SECURITY_NETWORK
|
|
||||||
./scripts/config --file .config --enable SECURITY_SELINUX
|
|
||||||
./scripts/config --file .config --enable DEFAULT_SECURITY_SELINUX
|
|
11
master.inc
11
master.inc
@ -34,8 +34,6 @@ Requires: linux-firmware
|
|||||||
|
|
||||||
%global make make -j$(( $(nproc) + 2 )) KERNELRELEASE=%{KVERREL}
|
%global make make -j$(( $(nproc) + 2 )) KERNELRELEASE=%{KVERREL}
|
||||||
|
|
||||||
Source2: https://git.resf.org/thefossguy/kernel-tfg/archive/master.tar.gz
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Linux Kernel, the operating system core itself
|
The Linux Kernel, the operating system core itself
|
||||||
|
|
||||||
@ -87,15 +85,6 @@ export LLVM=1 AR=llvm-ar CC=clang HOSTAR=llvm-ar HOSTCC=clang HOSTCXX=clang++ HO
|
|||||||
|
|
||||||
%{make} defconfig
|
%{make} defconfig
|
||||||
|
|
||||||
tar -xf %{SOURCE2} -C .
|
|
||||||
if [ -d 'kernel-tfg/extra-configs' ]; then
|
|
||||||
cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
|
|
||||||
rm -rf kernel-tfg/
|
|
||||||
./configure-linux.sh
|
|
||||||
else
|
|
||||||
echo "Extra configs not found, not modifying anything"
|
|
||||||
fi
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{make} PYTHON=%{__python3} %{make_targets}
|
%{make} PYTHON=%{__python3} %{make_targets}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user