use bash if to check opi5
This commit is contained in:
parent
531bda6763
commit
4d325265f5
@ -1,5 +1,5 @@
|
||||
# change version here
|
||||
%global rel_ver 7
|
||||
%global rel_ver 8
|
||||
%global major_ver 6
|
||||
%global minor_ver 1
|
||||
%global patch_ver 56
|
||||
|
@ -1,5 +1,5 @@
|
||||
# change version here
|
||||
%global rel_ver 7
|
||||
%global rel_ver 8
|
||||
%global next_snapshot_date 20231006
|
||||
%global target_config defconfig
|
||||
%global kname next
|
||||
|
@ -1,5 +1,5 @@
|
||||
# change version here
|
||||
%global rel_ver 7
|
||||
%global rel_ver 8
|
||||
%global patch_ver 0
|
||||
%global major_ver 6
|
||||
%global minor_ver 6
|
||||
|
@ -1,5 +1,5 @@
|
||||
# change version here
|
||||
%global rel_ver 12
|
||||
%global rel_ver 13
|
||||
%global major_ver 6
|
||||
%global minor_ver 6
|
||||
%global rc_ver 4
|
||||
|
@ -1,5 +1,5 @@
|
||||
# change version here
|
||||
%global rel_ver 7
|
||||
%global rel_ver 8
|
||||
%global major_ver 6
|
||||
%global minor_ver 5
|
||||
%global patch_ver 6
|
||||
|
@ -1,5 +1,5 @@
|
||||
# change version here
|
||||
%global rel_ver 8
|
||||
%global rel_ver 9
|
||||
%global major_ver 5
|
||||
%global minor_ver 10
|
||||
%global patch_ver 160
|
||||
|
@ -111,10 +111,10 @@ make olddefconfig
|
||||
# 2 means trouble
|
||||
diff .config .config.%{target_config} || echo "Diffing done"
|
||||
|
||||
%if "%{name}" == "*opi5*"
|
||||
if [[ "%{name}" =~ 'opi5' ]]; then
|
||||
sed -i 's@KBUILD_IMAGE := $(boot)/Image.gz@KBUILD_IMAGE := $(boot)/Image@' arch/arm64/Makefile
|
||||
%global make_targets Image modules dtbs
|
||||
%endif
|
||||
fi
|
||||
|
||||
%build
|
||||
%{make} PYTHON=%{__python3} %{make_targets}
|
||||
|
Loading…
Reference in New Issue
Block a user