diff --git a/.abf.yml b/.abf.yml index d258ab6..022e664 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,3 +1,2 @@ sources: - "u-boot-2012.04.tar.bz2": f32ecfdee0c7348c2fa9a368475bdd1cd82f9376 - u-boot-2012.10.tar.bz2: 80bc5f6d3e518803c9320d480e693fe1cb76a494 + u-boot-2020.01.tar.bz2: 370331bee500ca51b2cc094199730e3b30ea2606 diff --git a/u-boot-tools.spec b/u-boot-tools.spec index c4911ee..5ec7ff9 100644 --- a/u-boot-tools.spec +++ b/u-boot-tools.spec @@ -1,14 +1,19 @@ %define debug_package %nil -%define daterel 2012.10 Name: u-boot-tools -Version: 20121012 -Release: 5 +Version: 2020.01 +Release: 1 Summary: Tools for the u-boot Firmware Group: System/Kernel and hardware +Epoch: 1 Url: http://www.denx.de/wiki/U-Boot -Source0: ftp://ftp.denx.de/pub/u-boot/u-boot-%{daterel}.tar.bz2 +Source0: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 License: GPLv2 +BuildRequires: dtc +BuildRequires: openssl-devel +BuildRequires: bison +BuildRequires: flex +Provides: uboot-mkimage %description Das U-Boot (or just "U-Boot" for short) @@ -16,21 +21,13 @@ is Open Source Firmware for Embedded PowerPC, ARM, MIPS and x86 processors. This package contains: mkimage a tool that creates kernel bootable images for u-boot. -%package doc -Summary: Documentation for the u-boot Firmware -Group: Development/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-%{daterel} +%setup -q -n u-boot-%{version} %build +make defconfig sed -i -e "s:-g ::" tools/Makefile || die -%make USE_PRIVATE_LIBGG=yes tools +%make HOSTCC=%{__cc} HOSTSTRIP=%{__strip} USE_PRIVATE_LIBGG=yes tools-all %install install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage @@ -40,13 +37,3 @@ gzip %{buildroot}%{_mandir}/man1/* %files %{_bindir}/mkimage %{_mandir}/man1/mkimage.1.* -%doc COPYING CREDITS README - -%files doc -%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 -%doc doc/README.JFFS2 doc/README.JFFS2_NAND doc/README.commands -%doc tools/scripts/dot.kermrc tools/scripts/flash_param tools/scripts/send_cmd tools/scripts/send_image -%doc doc/README.ARM-SoC doc/README.ARM-memory-map