From 4ee9b492ccf478d38850a6a9dec05d8a547e1b71 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 15 Oct 2023 22:34:21 +0530 Subject: [PATCH] introduce RHEL's config --- kernel-lts-tfg.spec | 1 - kernel-next-tfg.spec | 1 - kernel-rc-tfg.spec | 1 - kernel-stable-tfg.spec | 1 - master.inc | 4 ++-- 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/kernel-lts-tfg.spec b/kernel-lts-tfg.spec index f6c18a7..7ace530 100644 --- a/kernel-lts-tfg.spec +++ b/kernel-lts-tfg.spec @@ -3,7 +3,6 @@ %global major_ver 6 %global minor_ver 1 %global patch_ver 57 -%global target_config defconfig %global kname lts Version: %{major_ver}.%{minor_ver}.%{patch_ver} diff --git a/kernel-next-tfg.spec b/kernel-next-tfg.spec index 1b2a0e2..0feb5ef 100644 --- a/kernel-next-tfg.spec +++ b/kernel-next-tfg.spec @@ -4,7 +4,6 @@ %global minor_ver 6 %global patch_ver 0 %global next_snapshot_date 20231013 -%global target_config defconfig %global kname next Version: %{major_ver}.%{minor_ver}.%{patch_ver} diff --git a/kernel-rc-tfg.spec b/kernel-rc-tfg.spec index 718585c..e9aae10 100644 --- a/kernel-rc-tfg.spec +++ b/kernel-rc-tfg.spec @@ -3,7 +3,6 @@ %global major_ver 6 %global minor_ver 6 %global rc_ver 5 -%global target_config defconfig %global kname rc Version: %{major_ver}.%{minor_ver}.0 diff --git a/kernel-stable-tfg.spec b/kernel-stable-tfg.spec index fe67934..7660eb1 100644 --- a/kernel-stable-tfg.spec +++ b/kernel-stable-tfg.spec @@ -3,7 +3,6 @@ %global major_ver 6 %global minor_ver 5 %global patch_ver 7 -%global target_config defconfig %global kname stable Version: %{major_ver}.%{minor_ver}.%{patch_ver} diff --git a/master.inc b/master.inc index a939649..567af88 100644 --- a/master.inc +++ b/master.inc @@ -35,6 +35,7 @@ Requires: linux-firmware %global make make -j$(( $(nproc) + 2 )) KERNELRELEASE=%{KVERREL} Source2: https://git.resf.org/thefossguy/kernel-tfg/archive/master.tar.gz +Source3: config %description The Linux Kernel, the operating system core itself @@ -94,8 +95,7 @@ export LLVM=1 AR=llvm-ar CC=clang HOSTAR=llvm-ar HOSTCC=clang HOSTCXX=clang++ HO [ -f .config ] && rm -vf .config* %{make} distclean -%{make} "${EXTRA_LINUX_CONFIG[@]}" %{target_config} -cp .config .config.%{target_config} +cp %{SOURCE3} .config tar -xf %{SOURCE2} -C . cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .