Accepting request 359531 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/359531 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=65
This commit is contained in:
@@ -50,6 +50,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
BuildRequires: dtc >= 1.4.0
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
# Owns /usr/share/qemu directory
|
||||
BuildRequires: qemu
|
||||
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%endif
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
@@ -99,6 +104,9 @@ export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
|
||||
%define uboot_dir /boot/vc
|
||||
%endif
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
%define uboot_dir %{_datadir}/qemu
|
||||
%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
|
||||
@@ -114,6 +122,9 @@ elif [ -f u-boot-dtb.bin ]; then
|
||||
else
|
||||
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||
fi
|
||||
%if "%{name}" == "u-boot-qemu-ppce500"
|
||||
mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
|
||||
%endif
|
||||
%endif
|
||||
%if %x_loader == 1
|
||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
||||
|
Reference in New Issue
Block a user