SHA256
1
0
forked from pool/u-boot

Accepting request 350287 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/350287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=62
This commit is contained in:
2015-12-24 11:16:47 +00:00
committed by Git OBS Bridge
parent 8d2001f625
commit db597dd687
70 changed files with 525 additions and 105 deletions

View File

@@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%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
@@ -91,11 +97,11 @@ done
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.BINEND %{buildroot}/boot/u-boot.BINEND
install -D -m 0644 u-boot-dtb-tegra.BINEND %{buildroot}%{uboot_dir}/u-boot.BINEND
elif [ -f u-boot-dtb.BINEND ]; then
install -D -m 0644 u-boot-dtb.BINEND %{buildroot}/boot/u-boot.BINEND
install -D -m 0644 u-boot-dtb.BINEND %{buildroot}%{uboot_dir}/u-boot.BINEND
else
install -D -m 0644 u-boot.BINEND %{buildroot}/boot/u-boot.BINEND
install -D -m 0644 u-boot.BINEND %{buildroot}%{uboot_dir}/u-boot.BINEND
fi
%endif
%if %x_loader == 1