Hello community,

here is the log from the commit of package u-boot for openSUSE:Factory checked 
in at 2016-02-17 10:26:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/u-boot (Old)
 and      /work/SRC/openSUSE:Factory/.u-boot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "u-boot"

Changes:
--------
--- /work/SRC/openSUSE:Factory/u-boot/u-boot-a10-olinuxino-lime.changes 
2016-02-09 16:50:08.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-a10-olinuxino-lime.changes    
2016-02-17 12:25:42.000000000 +0100
@@ -1,0 +2,11 @@
+Sat Feb 13 14:56:43 UTC 2016 - [email protected]
+
+- Enable Hyundai_A7HD, superseding :Contrib:sunxi package
+
+-------------------------------------------------------------------
+Thu Feb  9 13:02:26 UTC 2016 - [email protected]
+
+- Adjust installation path for qemu-ppce500 to replace qemu-ppc's
+* Pull in qemu (not qemu-ppc) for directory ownership
+
+-------------------------------------------------------------------
u-boot-a13-olinuxino.changes: same change
u-boot-a13-olinuxinom.changes: same change
u-boot-a20-olinuxino-lime.changes: same change
u-boot-a20-olinuxino-lime2.changes: same change
u-boot-a20-olinuxinomicro.changes: same change
u-boot-am335xevm.changes: same change
u-boot-am57xxevm.changes: same change
u-boot-am57xxevmnodt.changes: same change
u-boot-arndale.changes: same change
u-boot-bananapi.changes: same change
u-boot-colibrit20.changes: same change
u-boot-cubieboard.changes: same change
u-boot-cubieboard2.changes: same change
u-boot-cubietruck.changes: same change
u-boot-firefly-rk3288.changes: same change
u-boot-highbank.changes: same change
New Changes file:

--- /dev/null   2016-01-27 19:41:03.648095915 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-hyundaia7hd.changes   
2016-02-17 12:25:42.000000000 +0100
@@ -0,0 +1,982 @@
+-------------------------------------------------------------------
+Sat Feb 13 14:56:43 UTC 2016 - [email protected]
+
+- Enable Hyundai_A7HD, superseding :Contrib:sunxi package
+
+-------------------------------------------------------------------
+Thu Feb  9 13:02:26 UTC 2016 - [email protected]
+
+- Adjust installation path for qemu-ppce500 to replace qemu-ppc's
+* Pull in qemu (not qemu-ppc) for directory ownership
+
+-------------------------------------------------------------------
+Tue Feb  9 00:03:18 UTC 2016 - [email protected]
+
+- Add Jetson TX1 board (p2371-2180)
+- Fix indentation of last Patch line in .spec.in to match .spec
+
+-------------------------------------------------------------------
+Mon Feb  1 19:35:45 UTC 2016 - [email protected]
+
+- Add patch to fix exynos armv7 kvm support
+  * adds u-boot-exynos.patch
+
+-------------------------------------------------------------------
+Tue Jan 19 14:15:58 UTC 2016 - [email protected]
+
+- Prepare for non-/boot installation directories
+* For /boot/vc pull in raspberrypi-firmware package
+
+-------------------------------------------------------------------
+Fri Jan 15 21:19:43 UTC 2016 - [email protected]
+
+- Add udoo (dual and quad) boards
+  * adds 0001-udoo-use-load-instead-of-fatload.patch
+
+-------------------------------------------------------------------
+Thu Jan 14 15:43:36 UTC 2016 - [email protected]
+
+- Add qemu-ppce500, to replace u-boot.e500 blob in qemu package
+* Override CROSS_COMPILE variable to use native gcc
+
+-------------------------------------------------------------------
+Wed Jan 13 14:07:32 UTC 2016 - [email protected]
+
+- Update to 2016.01
+
+-------------------------------------------------------------------
+Mon Jan 11 11:08:50 UTC 2016 - [email protected]
+
+- Update to 2016.01-rc4
+
+-------------------------------------------------------------------
+Mon Dec 28 13:50:10 UTC 2015 - [email protected]
+
+- Update to 2016.01-rc3
+
+-------------------------------------------------------------------
+Sun Dec 20 20:56:54 UTC 2015 - [email protected]
+
+- Suppress stripping debug info - it affects u-boot-jetson-tk1
+- Install rpi and rpi2 binaries to /boot/vc
+
+-------------------------------------------------------------------
+Tue Dec 15 09:27:03 UTC 2015 - [email protected]
+
+- Backport U-Boot-am335x_evm-Don-t-undef-CONFIG_BOOTDELAY.patch
+  to fix bootdelay on Beaglebone board
+
+-------------------------------------------------------------------
+Tue Dec 15 09:15:30 UTC 2015 - [email protected]
+
+- Add orangepi_pc board
+
+-------------------------------------------------------------------
+Fri Dec 11 09:23:17 UTC 2015 - [email protected]
+
+- Add support to am57xx_evm (beagle_x15 with u-boot DT)
+
+-------------------------------------------------------------------
+Fri Dec 11 09:08:25 UTC 2015 - [email protected]
+
+- Update to 2016.01-rc2:
+- Rename 'beagle_x15' to 'am57xx_evm_nodt' to follow upstream
+- Remove upstreamed patch:
+  * U-Boot-1-2-usb-host-xhci-omap-fix-build-break.patch
+
+-------------------------------------------------------------------
+Wed Nov 25 09:38:56 UTC 2015 - [email protected]
+
+- Update to 2016.01-rc1
+- Remove upstreamed patches:
+  * 0001-configs-Use-config_distro_defaults.h-in-ti_armv7_com.patch
+  * 0001-mx6cuboxi-use-load-instead-of-fatload.patch (no more needed)
+  * 
U-Boot-image.c-Fix-non-Android-booting-with-ramdisk-and-or-device-tree.patch
+- Update drop-marvell.patch
+
+-------------------------------------------------------------------
+Sun Nov 15 13:11:56 UTC 2015 - [email protected]
+
+- Backport 0001-configs-Use-config_distro_defaults.h-in-ti_armv7_com.patch
+
+-------------------------------------------------------------------
+Sat Nov 14 15:03:05 UTC 2015 - [email protected]
+
+- 0001-mx6cuboxi-use-load-instead-of-fatload.patch
+  for cubox-i use load instead of fatload
+
+-------------------------------------------------------------------
+Tue Nov  3 08:14:57 UTC 2015 - [email protected]
+
+- Fix am335x booting
+  * 
U-Boot-image.c-Fix-non-Android-booting-with-ramdisk-and-or-device-tree.patch
+
+-------------------------------------------------------------------
+Wed Oct 21 08:16:32 UTC 2015 - [email protected]
+
+- Add Beagle x15 support
+- Fix build for Beagle x15: 
+  * U-Boot-1-2-usb-host-xhci-omap-fix-build-break.patch 
+
+-------------------------------------------------------------------
+Tue Oct 20 11:32:30 UTC 2015 - [email protected]
+
+- Update to 2015.10
+- Remove upstreamed patches:
+  * 0001-odroid-replace-fatload-with-load-to-be-able-to-use-E.patch
+  * 0002-odroid-Add-boot-script-boot.scr-support.patch
+
+-------------------------------------------------------------------
+Tue Oct 13 06:58:38 UTC 2015 - [email protected]
+
+- Update to 2015.10-rc5
+- Remove upstreamed patch:
+  * arndale-apply-cortex-a15-erratas.patch 
+
+-------------------------------------------------------------------
+Thu Oct  8 09:27:15 UTC 2015 - [email protected]
+
+- Add boot script support to odroid board:
+  * 0001-odroid-replace-fatload-with-load-to-be-able-to-use-E.patch
+  * 0002-odroid-Add-boot-script-boot.scr-support.patch
+
+-------------------------------------------------------------------
+Mon Oct  5 18:04:28 UTC 2015 - [email protected]
+
+- Add spring and firefly-rk3288 for armv7hl
+  * Break overly long armv7_boards line in pre_checkin.sh
+  * Clean up case'ing of defconfigs to avoid excessive wildcards
+- Prepare for adding qemu-ppce500 for ppc
+  * Allow for more than two exclusive architectures (cleanup)
+
+-------------------------------------------------------------------
+Mon Oct  5 11:42:08 UTC 2015 - [email protected]
+
+- add arndale-apply-cortex-a15-erratas.patch
+
+-------------------------------------------------------------------
+Thu Oct  1 16:41:38 UTC 2015 - [email protected]
+
+- Update to 2015.10-rc4
+- Update drop-marvell.patch
+
+-------------------------------------------------------------------
+Sat Sep 12 12:22:53 UTC 2015 - [email protected]
+
+- Use u-boot-2015.10-rc3.tar.bz2 package provided on FTP instead of
+  packaging it manually.
+
+-------------------------------------------------------------------
+Tue Sep  8 08:52:56 UTC 2015 - [email protected]
+
+- Update to 2015.10-rc3
+
+-------------------------------------------------------------------
+Wed Sep  2 16:28:02 UTC 2015 - [email protected]
+
+- Add odroid and odroid-xu3
+
+-------------------------------------------------------------------
+Tue Aug 18 08:31:48 UTC 2015 - [email protected]
+
+- Update to 2015.10-rc2 
+- Remove upstreamed patch:
+  * jetson-tk1-gpu-1.patch
+  * jetson-tk1-gpu-2.patch
+
+-------------------------------------------------------------------
+Thu Aug  6 12:40:58 UTC 2015 - [email protected]
+
+- Update to 2015.10-rc1
+- Remove upstreamed patch:
+  * mx53loco-bootscr.patch
+- Update patches:
+  * jetson-tk1-gpu-1.patch
+  * jetson-tk1-gpu-2.patch
+
+-------------------------------------------------------------------
++++ 785 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-hyundaia7hd.changes
--- /work/SRC/openSUSE:Factory/u-boot/u-boot-jetson-tk1.changes 2016-02-09 
16:50:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.u-boot.new/u-boot-jetson-tk1.changes    
2016-02-17 12:25:42.000000000 +0100
@@ -1,0 +2,11 @@
+Sat Feb 13 14:56:43 UTC 2016 - [email protected]
+
+- Enable Hyundai_A7HD, superseding :Contrib:sunxi package
+
+-------------------------------------------------------------------
+Thu Feb  9 13:02:26 UTC 2016 - [email protected]
+
+- Adjust installation path for qemu-ppce500 to replace qemu-ppc's
+* Pull in qemu (not qemu-ppc) for directory ownership
+
+-------------------------------------------------------------------
u-boot-melea1000.changes: same change
u-boot-merriia80optimus.changes: same change
u-boot-mx53loco.changes: same change
u-boot-mx6cuboxi.changes: same change
u-boot-mx6qsabrelite.changes: same change
u-boot-odroid-xu3.changes: same change
u-boot-odroid.changes: same change
u-boot-omap3beagle.changes: same change
u-boot-omap4panda.changes: same change
u-boot-orangepipc.changes: same change
u-boot-p2371-2180.changes: same change
u-boot-paz00.changes: same change
u-boot-pcm051rev3.changes: same change
u-boot-qemu-ppce500.changes: same change
u-boot-rpi.changes: same change
u-boot-rpi2.changes: same change
u-boot-snow.changes: same change
u-boot-spring.changes: same change
u-boot-udoo.changes: same change
u-boot.changes: same change

New:
----
  u-boot-hyundaia7hd.changes
  u-boot-hyundaia7hd.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ u-boot-a10-olinuxino-lime.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

u-boot-a13-olinuxino.spec: same change
u-boot-a13-olinuxinom.spec: same change
u-boot-a20-olinuxino-lime.spec: same change
u-boot-a20-olinuxino-lime2.spec: same change
u-boot-a20-olinuxinomicro.spec: same change
u-boot-am335xevm.spec: same change
++++++ u-boot-am57xxevm.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

u-boot-am57xxevmnodt.spec: same change
u-boot-arndale.spec: same change
++++++ u-boot-bananapi.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-colibrit20.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-cubieboard.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

u-boot-cubieboard2.spec: same change
u-boot-cubietruck.spec: same change
++++++ u-boot-firefly-rk3288.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

u-boot-highbank.spec: same change
++++++ u-boot-hyundaia7hd.spec ++++++
#
# spec file for package u-boot-hyundaia7hd
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
# Copyright (c) 2007-2010 by Silvan Calarco <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define x_loader 0
%define origen_spl 0
%define sunxi_spl 1
%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

Name:           u-boot-hyundaia7hd
Version:        2016.01
Release:        0
Summary:        The u-boot firmware for the hyundaia7hd arm 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
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-qemu-ppce500"
# Owns /usr/share/qemu directory
BuildRequires:  qemu
Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
%endif
%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
Obsoletes:      x-loader-hyundaia7hd
Provides:       x-loader-hyundaia7hd
%endif
ExclusiveArch:  armv7l armv7hl

%description
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
This package contains the firmware for the hyundaia7hd arm platform.

%package doc
Summary:        Documentation for the u-boot Firmware
Group:          Documentation/Other

%description doc
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded 
PowerPC, ARM, MIPS and x86 processors.
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} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" 
Hyundai_A7HD_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)
./tools/mkimage -A arm -O linux -T kernel -C none -a $TEXT_START -e $TEXT_START 
-n uboot -d u-boot-dtb.bin u-boot.img
%endif

%install
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"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-qemu-ppce500"
%define uboot_dir %{_datadir}/qemu
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original 
name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
    install -D -m 0644 $f %{buildroot}/boot/$f
done
%else
# Some times u-boot needs a dtb to configure itself appended to the binary.
# In that case prefer the one with a working dtb already appended.
if [ -f u-boot-dtb-tegra.bin ]; then
    install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
    install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
    install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%if "%{name}" == "u-boot-qemu-ppce500"
mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
%endif
%endif
%if %x_loader == 1
install -D -m 0755 MLO %{buildroot}/boot/MLO
%endif
%if %origen_spl == 1
install -D -m 0755 spl/origen-spl.bin %{buildroot}/boot/origen-spl.bin
%endif
%if %arndale_spl == 1
install -D -m 0755 spl/arndale-spl.bin %{buildroot}/boot/arndale-spl.bin
install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
%endif
%if %sunxi_spl == 1
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
install -D -m 0755 u-boot-sunxi-with-spl.bin 
%{buildroot}/boot/u-boot-sunxi-with-spl.bin 
%endif
%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)
%{uboot_dir}/*
%doc Licenses/gpl-2.0.txt README

%files doc
%defattr(-,root,root)
# Generic documents
%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands
%doc doc/README.autoboot doc/README.commands doc/README.console doc/README.dns
%doc doc/README.hwconfig doc/README.nand doc/README.NetConsole 
doc/README.serial_multi
%doc doc/README.SNTP doc/README.standalone doc/README.update doc/README.usb
%doc doc/README.video doc/README.VLAN doc/README.silent doc/README.POST 
doc/README.Modem
# Copy some useful kermit scripts as well
%doc tools/kermit/dot.kermrc tools/kermit/flash_param tools/kermit/send_cmd 
tools/kermit/send_image
# Now any h/w dependent Documentation
%doc doc/README.ARM-memory-map 

%changelog
++++++ u-boot-jetson-tk1.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-melea1000.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-merriia80optimus.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-mx53loco.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.imx %{buildroot}%{uboot_dir}/u-boot.imx
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.imx %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-mx6cuboxi.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-mx6qsabrelite.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.imx %{buildroot}%{uboot_dir}/u-boot.imx
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.imx %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-odroid-xu3.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

u-boot-odroid.spec: same change
++++++ u-boot-omap3beagle.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

u-boot-omap4panda.spec: same change
++++++ u-boot-orangepipc.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

u-boot-p2371-2180.spec: same change
u-boot-paz00.spec: same change
++++++ u-boot-pcm051rev3.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:46.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:46.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-qemu-ppce500.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:47.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:47.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-rpi.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:47.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:47.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-rpi2.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:47.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:47.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.bin %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

++++++ u-boot-snow.spec ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:47.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:47.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.img %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO

u-boot-spring.spec: same change
u-boot-udoo.spec: same change

++++++ pre_checkin.sh ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:47.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:47.000000000 +0100
@@ -18,7 +18,7 @@
 armv7_boards="$armv7_boards Bananapi Cubieboard Cubieboard2 Cubietruck 
Mele_A1000 Merrii_A80_Optimus"
 armv7_boards="$armv7_boards A10-OLinuXino-Lime A13-OLinuXino A13-OLinuXinoM"
 armv7_boards="$armv7_boards A20-OLinuXino-Lime A20-OLinuXino-Lime2 
A20-OLinuXino_MICRO"
-armv7_boards="$armv7_boards orangepi_pc"
+armv7_boards="$armv7_boards orangepi_pc Hyundai_A7HD"
 # Broadcom
 armv7_boards="$armv7_boards rpi_2"
 # Nvidia

++++++ u-boot.spec.in ++++++
--- /var/tmp/diff_new_pack.Vp8cDP/_old  2016-02-17 12:25:47.000000000 +0100
+++ /var/tmp/diff_new_pack.Vp8cDP/_new  2016-02-17 12:25:47.000000000 +0100
@@ -50,6 +50,11 @@
 # Arndale board need DTC >= 1.4
 BuildRequires:  bc
 BuildRequires:  dtc >= 1.4.0
+%if "%{name}" == "u-boot-qemu-ppce500"
+# Owns /usr/share/qemu directory
+BuildRequires:  qemu
+Provides:       qemu-ppc:%{_datadir}/qemu/u-boot.e500
+%endif
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 # Owns /boot/vc directory
 BuildRequires:  raspberrypi-firmware
@@ -99,6 +104,9 @@
 %if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
 %define uboot_dir /boot/vc
 %endif
+%if "%{name}" == "u-boot-qemu-ppce500"
+%define uboot_dir %{_datadir}/qemu
+%endif
 %if "%{name}" == "u-boot-jetson-tk1"
 # tegra-uboot-flasher needs several intermediate files, under their original 
name.
 for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@@ -114,6 +122,9 @@
 else
     install -D -m 0644 u-boot.BINEND %{buildroot}%{uboot_dir}/u-boot.BINEND
 fi
+%if "%{name}" == "u-boot-qemu-ppce500"
+mv %{buildroot}%{uboot_dir}/u-boot.BINEND %{buildroot}%{uboot_dir}/u-boot.e500
+%endif
 %endif
 %if %x_loader == 1
 install -D -m 0755 MLO %{buildroot}/boot/MLO


Reply via email to