List all generated files for each board

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2021-01-07 11:06:17 +02:00
parent 2c7fba2985
commit 0f9b26175b
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@
Name: uboot-tools
Version: 2020.10
Release: 2%{?candidate:.%{candidate}}.0.riscv64%{?dist}
Release: 2%{?candidate:.%{candidate}}.1.riscv64%{?dist}
Summary: U-Boot utilities
License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+
URL: http://www.denx.de/wiki/U-Boot
@ -222,6 +222,7 @@ done
%ifarch riscv64
for board in $(cat %{_arch}-boards)
do
find builds/$(echo $board)/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/
for file in u-boot.bin u-boot.dtb u-boot.img u-boot-nodtb.bin u-boot.itb u-boot-dtb.img u-boot-initial-env u-boot.its u-boot-spl.bin u-boot-spl-nodtb.bin
do