Accepting request 390469 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/390469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=72
This commit is contained in:
2016-04-22 14:25:22 +00:00
committed by Git OBS Bridge
parent 12105bc013
commit ea873baefe
112 changed files with 5621 additions and 6973 deletions

View File

@@ -27,10 +27,10 @@
%define udoo_spl UDOO_SPL
# archive_version differs from version for RC version only
%define archive_version 2016.03
%define archive_version 2016.05-rc1
Name: u-boot-BOARDNAME
Version: 2016.03
Version: 2016.05~rc1
Release: 0
Summary: The u-boot firmware for the BOARDNAME arm platform
License: GPL-2.0
@@ -39,24 +39,27 @@ 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
Source300: u-boot-rpmlintrc
# Fix exynos KVM support
Patch1: u-boot-exynos.patch
# Add EFI support. Will be upstream in the next version of u-boot.
Patch3: efi.patch
Patch4: efi2.patch
# Set default environment slightly different for EFI, so it finds our dtbs
Patch5: efi-default-env.patch
Patch1: 0001-XXX-openSUSE-XXX-Load-dtb-from-partition-2.patch
# Move omap3 to distro boot method
Patch6: omap3-Move-to-distro-bootcmd.patch
# efi: Run memory node fixups in device tree
Patch7: efi_loader-Call-fdt-preparation-functions.patch
# Allow grub2 to find its config file
Patch8: efi_loader-Pass-proper-device-path-in-on-boot.patch
# Fix Raspberry Pi 1 build
Patch9: efi_loader-Provide-icache-flush-stub.patch
# Ensure we mark the device tree as reserved
Patch11: efi-map-fdt-as-reserved.patch
Patch12: rpi3.patch
Patch2: 0002-XXX-openSUSE-XXX-omap3-Move-to-distro-bootcmd.patch
# Fix exynos KVM support
Patch3: 0003-exynos-Set-CNTFRQ.patch
# EFI fixes and ISO boot support
Patch4: 0004-iso-Make-little-endian-and-64bit-safe.patch
Patch5: 0005-iso-Start-with-partition-1.patch
Patch6: 0006-iso-Allow-512-byte-sector-size.patch
Patch7: 0007-efi_loader-Split-drive-add-into-function.patch
Patch8: 0008-efi_loader-Add-el-torito-support.patch
Patch9: 0009-efi_loader-Pass-file-path-to-payload.patch
Patch10: 0010-efi_loader-Increase-path-string-to-32-characters.patch
Patch11: 0011-distro-Enable-iso-partition-code.patch
Patch12: 0012-efi_loader-Use-system-fdt-as-fallback.patch
Patch13: 0013-efi_loader-Put-fdt-into-convenient-location.patch
Patch14: 0014-efi_loader-Expose-ascending-efi-memory-map.patch
Patch15: 0015-efi_loader-Always-flush-in-cache-line-size-granulari.patch
Patch16: 0016-efi_loader-Handle-memory-overflows.patch
Patch17: 0017-ARM-rpi-fix-64-bit-CONFIG_SYS_TEXT_BASE.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
@@ -93,6 +96,7 @@ This package contains documentation for u-boot firmware
%prep
%setup -q -n u-boot-%{archive_version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
@@ -100,8 +104,14 @@ This package contains documentation for u-boot firmware
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%build
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG