SHA256
1
0
forked from pool/u-boot

Accepting request 405463 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/405463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=76
This commit is contained in:
2016-07-01 08:00:13 +00:00
committed by Git OBS Bridge
parent 475ab01269
commit c5a1053428
101 changed files with 4787 additions and 404 deletions

View File

@@ -28,10 +28,10 @@
%define udoo_spl UDOO_SPL
# archive_version differs from version for RC version only
%define archive_version 2016.05
ARCHIVE_VERSION
Name: u-boot-BOARDNAME
Version: 2016.05
UBOOT_VERSION
Release: 0
Summary: The U-Boot firmware for the BOARDNAME platform
License: GPL-2.0
@@ -39,13 +39,9 @@ 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
Source2: arndale-bl1.img
Source3: update_git.sh
Source300: u-boot-rpmlintrc
# Set default environment slightly different for EFI, so it finds our dtbs
Patch1: 0001-XXX-openSUSE-XXX-Load-dtb-from-partition-2.patch
# Move omap3 to distro boot method
Patch2: 0002-XXX-openSUSE-XXX-omap3-Move-to-distro-bootcmd.patch
# UPSTREAM: Fix build with hard-float ARM toolchain (Fix iMX boards)
Patch3: 0001-video-ipu-Fix-build-with-hard-float-ARM-toolchain.-I.patch
PATCH_FILES
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
@@ -81,9 +77,7 @@ This package contains documentation for U-Boot firmware.
%prep
%setup -q -n u-boot-%{archive_version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
PATCH_EXEC
%build
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG