Accepting request 358474 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/358474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=64
This commit is contained in:
2016-02-09 15:49:43 +00:00
committed by Git OBS Bridge
parent 74e9681d1e
commit c33b2d7632
82 changed files with 5546 additions and 219 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package u-boot-paz00
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
@@ -23,12 +23,13 @@
%define sunxi_spl 0
%define arndale_spl 0
%define cuboxi_spl 0
%define udoo_spl 0
# archive_version differs from version for RC version only
%define archive_version 2016.01-rc3
%define archive_version 2016.01
Name: u-boot-paz00
Version: 2016.01~rc3
Version: 2016.01
Release: 0
Summary: The u-boot firmware for the paz00 arm platform
License: GPL-2.0
@@ -39,12 +40,20 @@ Source2: arndale-bl1.img
Source300: u-boot-rpmlintrc
# Backport UPSTREAM patch: Fix bootdelay on Beaglebone board
Patch1: U-Boot-am335x_evm-Don-t-undef-CONFIG_BOOTDELAY.patch
# PATCH-FIX-UPSTREAM udoo-fix-fatload.patch -- fix udoo booting
Patch2: 0001-udoo-use-load-instead-of-fatload.patch
# Fix exynos KVM support
Patch3: u-boot-exynos.patch
# Marvell boards support is non-free licensed, and we don't need it (bnc#773824)
Patch99: drop-marvell.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Arndale board need DTC >= 1.4
BuildRequires: bc
BuildRequires: dtc >= 1.4.0
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
# Owns /boot/vc directory
BuildRequires: raspberrypi-firmware
%endif
Provides: u-boot-loader
Conflicts: otherproviders(u-boot-loader)
%if %x_loader == 1
@@ -68,13 +77,15 @@ This package contains documentation for u-boot firmware
%prep
%setup -q -n u-boot-%{archive_version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
# is non-free licensed, and we don't need it (bnc#773824)
rm -rf board/Marvell
%patch99 -p1
%build
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$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
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
@@ -121,10 +132,13 @@ install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with
%if %cuboxi_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
%endif
%if %udoo_spl == 1
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
%endif
%files
%defattr(-,root,root)
/boot/*
%{uboot_dir}/*
%doc Licenses/gpl-2.0.txt README
%files doc