Accepting request 1138336 from hardware👢staging

OBS-URL: https://build.opensuse.org/request/show/1138336
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=204
This commit is contained in:
Matthias Brugger 2024-01-12 15:43:19 +00:00 committed by Git OBS Bridge
parent c8ce9a56ae
commit 1c42fb23ea
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 12 12:37:19 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Install u-boot-spl.bin.normal.out for StarFive Visionfive2
-------------------------------------------------------------------
Thu Jan 11 13:19:04 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -406,8 +406,6 @@ This package contains documentation for U-Boot firmware.
%prep
%setup -q -n u-boot-%{archive_version}
%autopatch -p1
# 2023.07 has been released with a -rc6 leftover
sed -i 's/-rc6//g' Makefile
%build
%if %tools_only
@ -590,6 +588,9 @@ echo -e "# Boot in AArch64 mode\narm_64bit=1" > %{buildroot}%{uboot_dir}/ubootco
%if "%{name}" == "u-boot-sifiveunleashed" || "%{name}" == "u-boot-sifiveunmatched" || "%{name}" == "u-boot-starfivevisionfive2"
install -D -m 0644 spl/u-boot-spl.bin %{buildroot}%{uboot_dir}/u-boot-spl.bin
%endif
%if "%{name}" == "u-boot-starfivevisionfive2"
install -D -m 0644 spl/u-boot-spl.bin.normal.out %{buildroot}%{uboot_dir}/u-boot-spl.bin.normal.out
%endif
%if 0%{?is_rpi}
%post