remove all the extra configs on top of defconfig; this is plain defconfig

This commit is contained in:
Pratham Patel 2023-11-11 17:47:05 +05:30
parent ea94d120d9
commit bc2756c2ae
No known key found for this signature in database
4 changed files with 0 additions and 24 deletions

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -xeu
find ./extra-configs -name "*.sh" -exec "{}" \;

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
./scripts/config --file .config --enable DEBUG_INFO_BTF

View File

@ -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

View File

@ -34,8 +34,6 @@ Requires: linux-firmware
%global make make -j$(( $(nproc) + 2 )) KERNELRELEASE=%{KVERREL}
Source2: https://git.resf.org/thefossguy/kernel-tfg/archive/master.tar.gz
%description
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
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
%{make} PYTHON=%{__python3} %{make_targets}