externally specify base "defconfig" from the spec file instead of master.inc

This commit is contained in:
Pratham Patel 2023-10-01 08:20:25 +05:30
parent 5c4d6d73f7
commit 19d2f537d6
No known key found for this signature in database
6 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@
%global minor_ver 1
%global patch_ver 52
%global lts_flag 1
%global target_config defconfig
Name: kernel-lts-tfg
Version: %{major_ver}.%{minor_ver}.%{patch_ver}

View File

@ -1,6 +1,7 @@
# change version here
%global rel_ver 6
%global next_snapshot_date 20230911
%global target_config defconfig
Name: kernel-next-tfg
Version: %{next_snapshot_date}

View File

@ -3,6 +3,7 @@
%global major_ver 6
%global minor_ver 6
%global rc_ver 1
%global target_config defconfig
Name: kernel-rc-tfg
Version: %{major_ver}.%{minor_ver}.0

View File

@ -3,6 +3,7 @@
%global major_ver 6
%global minor_ver 5
%global patch_ver 5
%global target_config defconfig
Name: kernel-stable-tfg
Version: %{major_ver}.%{minor_ver}.%{patch_ver}

View File

@ -3,6 +3,7 @@
%global major_ver 5
%global minor_ver 10
%global patch_ver 160
%global target_config rockchip_defconfig
%global commit_hash 3c0ea83c49a1e4959161c9953f142ac91ea8ddd8
Name: kernel-vendor-opi5-tfg

View File

@ -95,7 +95,7 @@ source ./configure-linux.sh
[ -f .config ] && rm -vf .config*
%{make} distclean
%{make} "${EXTRA_LINUX_CONFIG[@]}" defconfig
%{make} "${EXTRA_LINUX_CONFIG[@]}" %{target_config}
verify_config
%build