Accepting request 876718 from hardware👢staging

OBS-URL: https://build.opensuse.org/request/show/876718
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=132
This commit is contained in:
Guillaume GARDET 2021-03-04 11:05:08 +00:00 committed by Git OBS Bridge
parent 056bfead3a
commit 50f90b9f84
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 4 10:51:38 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Guard 'export BL31' for sun50i_h6 and sun50i_a64 with
'%{with uboot_atf}' condition
-------------------------------------------------------------------
Mon Mar 1 13:13:54 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>

View File

@ -408,11 +408,15 @@ make %{?_smp_mflags} CFLAGS="%{optflags}" tools-only
%else
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/u-boot.changes | tail -n 1 | cut -d- -f1 )" +%s)
%if 0%{?is_a64} || 0%{?is_h5}
%if %{with uboot_atf}
export BL31=%{_datadir}/arm-trusted-firmware-sun50i_a64/bl31.bin
%endif
export SCP=/dev/null
%endif
%if 0%{?is_h6}
%if %{with uboot_atf}
export BL31=%{_datadir}/arm-trusted-firmware-sun50i_h6/bl31.bin
%endif
export SCP=/dev/null
%endif
%if "%{name}" == "u-boot-qemu-riscv64spl"