add a temp workaround to no SCP in fedora/rocky repos
This commit is contained in:
parent
2a6ec9d9b1
commit
9e19b676c0
@ -3,6 +3,7 @@
|
||||
%global output_files u-boot-sunxi-with-spl.bin sunxi-spl.bin
|
||||
|
||||
%global BL31 /usr/share/arm-trusted-firmware/sun50i_a64/bl31.bin
|
||||
%global SCP does_not_exist
|
||||
|
||||
Source1: package.inc
|
||||
%include %{SOURCE1}
|
||||
|
@ -46,6 +46,12 @@ export BL31='%{BL31}'
|
||||
%if "%{?ROCKCHIP_TPL}" != ""
|
||||
export ROCKCHIP_TPL='%{ROCKCHIP_TPL}'
|
||||
%endif
|
||||
%if "%{?SCP}" == "does_not_exist"
|
||||
touch scp.bin
|
||||
export SCP="$PWD/scp.bin"
|
||||
%elif "%{?SCP}" != ""
|
||||
export SCP='%{SCP}'
|
||||
%endif
|
||||
|
||||
%{make}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user