externally specify base "defconfig" from the spec file instead of master.inc
This commit is contained in:
parent
5c4d6d73f7
commit
19d2f537d6
@ -4,6 +4,7 @@
|
|||||||
%global minor_ver 1
|
%global minor_ver 1
|
||||||
%global patch_ver 52
|
%global patch_ver 52
|
||||||
%global lts_flag 1
|
%global lts_flag 1
|
||||||
|
%global target_config defconfig
|
||||||
|
|
||||||
Name: kernel-lts-tfg
|
Name: kernel-lts-tfg
|
||||||
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
|
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# change version here
|
# change version here
|
||||||
%global rel_ver 6
|
%global rel_ver 6
|
||||||
%global next_snapshot_date 20230911
|
%global next_snapshot_date 20230911
|
||||||
|
%global target_config defconfig
|
||||||
|
|
||||||
Name: kernel-next-tfg
|
Name: kernel-next-tfg
|
||||||
Version: %{next_snapshot_date}
|
Version: %{next_snapshot_date}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
%global major_ver 6
|
%global major_ver 6
|
||||||
%global minor_ver 6
|
%global minor_ver 6
|
||||||
%global rc_ver 1
|
%global rc_ver 1
|
||||||
|
%global target_config defconfig
|
||||||
|
|
||||||
Name: kernel-rc-tfg
|
Name: kernel-rc-tfg
|
||||||
Version: %{major_ver}.%{minor_ver}.0
|
Version: %{major_ver}.%{minor_ver}.0
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
%global major_ver 6
|
%global major_ver 6
|
||||||
%global minor_ver 5
|
%global minor_ver 5
|
||||||
%global patch_ver 5
|
%global patch_ver 5
|
||||||
|
%global target_config defconfig
|
||||||
|
|
||||||
Name: kernel-stable-tfg
|
Name: kernel-stable-tfg
|
||||||
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
|
Version: %{major_ver}.%{minor_ver}.%{patch_ver}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
%global major_ver 5
|
%global major_ver 5
|
||||||
%global minor_ver 10
|
%global minor_ver 10
|
||||||
%global patch_ver 160
|
%global patch_ver 160
|
||||||
|
%global target_config rockchip_defconfig
|
||||||
%global commit_hash 3c0ea83c49a1e4959161c9953f142ac91ea8ddd8
|
%global commit_hash 3c0ea83c49a1e4959161c9953f142ac91ea8ddd8
|
||||||
|
|
||||||
Name: kernel-vendor-opi5-tfg
|
Name: kernel-vendor-opi5-tfg
|
||||||
|
@ -95,7 +95,7 @@ source ./configure-linux.sh
|
|||||||
[ -f .config ] && rm -vf .config*
|
[ -f .config ] && rm -vf .config*
|
||||||
%{make} distclean
|
%{make} distclean
|
||||||
|
|
||||||
%{make} "${EXTRA_LINUX_CONFIG[@]}" defconfig
|
%{make} "${EXTRA_LINUX_CONFIG[@]}" %{target_config}
|
||||||
verify_config
|
verify_config
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user