forked from pool/u-boot
Accepting request 493493 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/493493 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=87
This commit is contained in:
@@ -34,22 +34,22 @@
|
||||
%endif
|
||||
|
||||
# archive_version differs from version for RC version only
|
||||
%define archive_version 2017.03
|
||||
%define archive_version 2017.05
|
||||
|
||||
Name: u-boot-mvebudb-88f3720
|
||||
Version: 2017.03
|
||||
Version: 2017.05
|
||||
Release: 0
|
||||
Summary: The U-Boot firmware for the mvebudb-88f3720 platform
|
||||
License: GPL-2.0
|
||||
Group: System/Boot
|
||||
Url: http://www.denx.de/wiki/U-Boot
|
||||
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
|
||||
Source1: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2.sig
|
||||
Source2: arndale-bl1.img
|
||||
Source3: update_git.sh
|
||||
Source300: u-boot-rpmlintrc
|
||||
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
|
||||
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
|
||||
Patch0003: 0003-Makefile-Fix-linking-with-modern-bi.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Arndale board need DTC >= 1.4
|
||||
BuildRequires: bc
|
||||
@@ -93,17 +93,13 @@ This package contains documentation for U-Boot firmware.
|
||||
%setup -q -n u-boot-%{archive_version}
|
||||
%patch0001 -p1
|
||||
%patch0002 -p1
|
||||
%patch0003 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=$(date -d "$(head -n 2 %{_sourcedir}/%{name}.changes | tail -n 1 | cut -d- -f1 )" +%s)
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" mvebu_db-88f3720_defconfig
|
||||
%if 0%{?is_rpi}
|
||||
# U-Boot is installed in the filesystem, so we are confident there's enough space.
|
||||
make %{?_smp_mflags} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" mvebu_db-88f3720_defconfig
|
||||
echo "Attempting to enable fdt apply command (.dtbo) support."
|
||||
echo "CONFIG_OF_LIBFDT_OVERLAY=y" >> .config
|
||||
%endif
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
make %{?_smp_mflags} CROSS_COMPILE= HOSTCFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
# Chromebook ARM (snow) and HP Chromebook 11 (spring) need a uImage format
|
||||
|
Reference in New Issue
Block a user