Accepting request 431141 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/431141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=81
This commit is contained in:
2016-09-30 13:33:56 +00:00
committed by Git OBS Bridge
parent 934de6d406
commit 08d4d6f365
95 changed files with 3833 additions and 225 deletions

View File

@@ -69,7 +69,7 @@ BuildRequires: dtc >= 1.4.0
BuildRequires: qemu
Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
# For mountpoint
@@ -118,7 +118,7 @@ This package contains documentation for U-Boot firmware.
%patch0019 -p1
%build
export SOURCE_DATE_EPOCH=1473238979
export SOURCE_DATE_EPOCH=1475075897
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" snow_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
@@ -133,11 +133,11 @@ done
%endif
%install
export SOURCE_DATE_EPOCH=1473238979
export SOURCE_DATE_EPOCH=1475075897
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" || "%{name}" == "u-boot-rpi3"
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
@@ -192,7 +192,7 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
%endif
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi332b" || "%{name}" == "u-boot-rpi3"
%post
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
# It needs to be on the first FAT partition, wherever we mounted it.