2012-07-24 16:16:40 +02:00
|
|
|
#
|
|
|
|
# spec file for package u-boot
|
|
|
|
#
|
2018-01-31 19:50:18 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-08-07 08:24:10 +02:00
|
|
|
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
|
|
|
|
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
2012-07-24 16:16:40 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-08-10 09:16:06 +02:00
|
|
|
# 'archive_version' differs from 'version' for RC version only
|
2018-05-15 11:14:56 +02:00
|
|
|
%define archive_version 2018.05
|
2015-08-10 09:16:06 +02:00
|
|
|
|
2012-07-24 16:16:40 +02:00
|
|
|
Name: u-boot
|
2018-05-15 11:14:56 +02:00
|
|
|
Version: 2018.05
|
2012-07-24 16:16:40 +02:00
|
|
|
Release: 0
|
2016-05-10 09:27:03 +02:00
|
|
|
Summary: Tools for the U-Boot Firmware
|
2018-04-09 11:18:07 +02:00
|
|
|
License: GPL-2.0-only
|
2012-07-24 16:16:40 +02:00
|
|
|
Group: System/Boot
|
|
|
|
Url: http://www.denx.de/wiki/U-Boot
|
2015-08-10 09:16:06 +02:00
|
|
|
Source: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2
|
2017-05-09 18:04:45 +02:00
|
|
|
Source1: ftp://ftp.denx.de/pub/u-boot/u-boot-%{archive_version}.tar.bz2.sig
|
2018-05-15 11:14:56 +02:00
|
|
|
Patch0001: 0001-XXX-openSUSE-XXX-Load-dtb-from-part.patch
|
|
|
|
Patch0002: 0002-Revert-Revert-omap3-Use-raw-SPL-by-.patch
|
|
|
|
Patch0003: 0003-rpi-Use-firmware-provided-device-tr.patch
|
|
|
|
Patch0004: 0004-Temp-workaround-for-Chromebook-snow.patch
|
|
|
|
Patch0005: 0005-zynqmp-Add-generic-target.patch
|
|
|
|
Patch0006: 0006-tools-zynqmpimage-Add-partition-rea.patch
|
|
|
|
Patch0007: 0007-tools-zynqmpimage-Move-defines-to-h.patch
|
|
|
|
Patch0008: 0008-MAINTAINERS-Declare-tools-zynq-.-c-.patch
|
|
|
|
Patch0009: 0009-tools-zynqmpimage-Add-bif-support.patch
|
|
|
|
Patch0010: 0010-tools-zynqmpbif-Add-support-for-loa.patch
|
2014-09-08 21:29:09 +02:00
|
|
|
BuildRequires: libopenssl-devel
|
2012-07-24 16:16:40 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2012-08-07 08:24:10 +02:00
|
|
|
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
|
|
|
|
This package contains:
|
2016-05-10 09:27:03 +02:00
|
|
|
mkimage- a tool that creates kernel bootable images for U-Boot.
|
2012-08-07 08:24:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
2016-05-10 09:27:03 +02:00
|
|
|
Summary: Tools for the U-Boot Firmware
|
2012-08-07 08:24:10 +02:00
|
|
|
Group: System/Boot
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Das U-Boot (or just "U-Boot" for short) is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors.
|
|
|
|
This package contains:
|
2016-05-10 09:27:03 +02:00
|
|
|
mkimage- a tool that creates kernel bootable images for U-Boot.
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
%prep
|
2015-08-10 09:16:06 +02:00
|
|
|
%setup -q -n u-boot-%{archive_version}
|
2018-05-15 11:14:56 +02:00
|
|
|
%patch0001 -p1
|
|
|
|
%patch0002 -p1
|
|
|
|
%patch0003 -p1
|
|
|
|
%patch0004 -p1
|
|
|
|
%patch0005 -p1
|
|
|
|
%patch0006 -p1
|
|
|
|
%patch0007 -p1
|
|
|
|
%patch0008 -p1
|
|
|
|
%patch0009 -p1
|
|
|
|
%patch0010 -p1
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
%build
|
2014-09-08 21:29:09 +02:00
|
|
|
# needed for include/config/auto.conf
|
|
|
|
make defconfig
|
|
|
|
make silentoldconfig
|
2017-05-09 18:04:45 +02:00
|
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes tools-only
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
%install
|
2012-08-07 08:24:10 +02:00
|
|
|
install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage
|
|
|
|
install -D -m 0644 doc/mkimage.1 %{buildroot}%{_mandir}/man1/mkimage.1
|
2012-07-24 16:16:40 +02:00
|
|
|
|
2012-08-07 08:24:10 +02:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/mkimage
|
|
|
|
%{_mandir}/man1/mkimage.1.gz
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
%changelog
|