forgot "%global" would be expanded before the "shell if"
This commit is contained in:
parent
605d2bbcc1
commit
5bcf420cc3
@ -102,10 +102,10 @@ cp -vr kernel-tfg/{configure-linux.sh,extra-configs} .
|
||||
rm -rf kernel-tfg/
|
||||
./configure-linux.sh
|
||||
|
||||
if [[ "%{name}" =~ 'opi5' ]]; then
|
||||
%if "%{name}" == "*opi5*"
|
||||
sed -i 's@KBUILD_IMAGE := $(boot)/Image.gz@KBUILD_IMAGE := $(boot)/Image@' arch/arm64/Makefile
|
||||
%global make_targets olddefconfig Image modules dtbs
|
||||
fi
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{make} PYTHON=%{__python3} %{make_targets}
|
||||
|
Loading…
Reference in New Issue
Block a user