add a temp workaround to no SCP in fedora/rocky repos

This commit is contained in:
Pratham Patel 2023-11-11 09:18:55 +05:30
parent 2a6ec9d9b1
commit 9e19b676c0
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View File

@ -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}

View File

@ -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}