1 # Contributor: Philipp Schrader <philipp.schrader+arch@gmail.com>
5 pkgdesc="U-Boot mkimage utility, which encapsulates a compressed uImage Linux kerel image with header information, CRC32 checksum, etc, for use with the U-Boot bootloader"
7 url="http://www.denx.de/wiki/U-Boot/WebHome"
8 license=('GPL2' 'custom')
9 source=(ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2)
12 cd "$srcdir/u-boot-${pkgver}/tools"
14 # Remove unnecessary include lines from the Makefile
18 # Build everything (Replace some default values that were originally
19 # defined in the lines removed above)
20 make CC=gcc SRCTREE=../ STRIP=strip mkimage || return 1
22 # Since there's no install target, create our own method
23 install -d "$pkgdir/usr/bin"
24 install -m 755 -t "$pkgdir/usr/bin" mkimage
27 md5sums=('78b1c2722d3907b5fae2cd219dbaf927')