From bc2756c2ae09f0eb44d5a7951a68643588271936 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sat, 11 Nov 2023 17:47:05 +0530 Subject: [PATCH] remove all the extra configs on top of defconfig; this is plain defconfig --- configure-linux.sh | 5 ----- extra-configs/btf.sh | 3 --- extra-configs/selinux.sh | 5 ----- master.inc | 11 ----------- 4 files changed, 24 deletions(-) delete mode 100755 configure-linux.sh delete mode 100755 extra-configs/btf.sh delete mode 100755 extra-configs/selinux.sh diff --git a/configure-linux.sh b/configure-linux.sh deleted file mode 100755 index 07f12a2..0000000 --- a/configure-linux.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -set -xeu - -find ./extra-configs -name "*.sh" -exec "{}" \; diff --git a/extra-configs/btf.sh b/extra-configs/btf.sh deleted file mode 100755 index cf876be..0000000 --- a/extra-configs/btf.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -./scripts/config --file .config --enable DEBUG_INFO_BTF diff --git a/extra-configs/selinux.sh b/extra-configs/selinux.sh deleted file mode 100755 index 074ff61..0000000 --- a/extra-configs/selinux.sh +++ /dev/null @@ -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 diff --git a/master.inc b/master.inc index e7932db..797bffe 100644 --- a/master.inc +++ b/master.inc @@ -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}