Accepting request 384345 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/384345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=71
This commit is contained in:
2016-04-07 11:32:23 +00:00
committed by Git OBS Bridge
parent ee1fa58cf2
commit 12105bc013
85 changed files with 2539 additions and 46 deletions

View File

@@ -20,6 +20,7 @@
%define x_loader 0
%define origen_spl 0
%define rockchip_spl 0
%define sunxi_spl 0
%define arndale_spl 0
%define cuboxi_spl 0
@@ -110,6 +111,11 @@ make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START -n uboot -d u-boot-dtb.bin u-boot.img
%endif
%if %rockchip_spl == 1
for t in ; do
./tools/mkimage -n -d spl/u-boot-spl-dtb.bin -T $t u-boot-spl.$t
done
%endif
%install
export NO_BRP_STRIP_DEBUG=true
@@ -123,7 +129,7 @@ export NO_DEBUGINFO_STRIP_DEBUG=true
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin spl/u-boot-spl; do
install -D -m 0644 $f %{buildroot}/boot/$f
done
%else
@@ -150,6 +156,12 @@ install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %rockchip_spl == 1
install -D -m 0644 spl/u-boot-spl-dtb.bin %{buildroot}%{uboot_dir}/u-boot-spl-dtb.bin
for t in ; do
install -D -m 0644 u-boot-spl.$t %{buildroot}%{uboot_dir}/u-boot-spl.$t
done
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin