Use newer U-Boot sources to facilitate FIT image creation.

This commit is contained in:
stratum nine 2013-02-18 02:18:10 -05:00
parent ab8fd37276
commit 68159bce10
2 changed files with 15 additions and 12 deletions

View file

@ -1,21 +1,24 @@
# Maintainer: Mike Staszel <mikestaszel@gmail.com>
# Plugbox changes: This package is from Debian
# Maintainer: stratum nine <strata@dropswitch.net>
pkgname=uboot-mkimage
pkgver=0.4
pkgver=2013.01.01
pkgrel=1
plugrel=1
pkgdesc="This package contains the mkimage utility, which encapsulates a compressed "uImage" Linux kernel image for use with the U-Boot bootloader"
arch=('arm')
license=('GPL2')
license=('GPL')
url="http://www.denx.de/wiki/U-Boot/WebHome"
depends=('coreutils')
makedepends=()
source=(uboot-mkimage-0.4.tar.gz)
md5sums=('7e1ead94aad813ec1d4ed5a8a8a2466c')
depends=('glibc')
source=(http://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2)
md5sums=('73939f78606f89a1775c7e9acb2ca617')
build() {
cd ${srcdir}/
cp -R ./usr ${pkgdir}/
cd ${srcdir}/u-boot-${pkgver}
# Build tools only
make tools
}
package() {
install -Dm 755 $srcdir/u-boot-${pkgver}/tools/mkimage $pkgdir/usr/bin/mkimage
install -Dm 644 $srcdir/u-boot-${pkgver}/doc/mkimage.1 $pkgdir/usr/share/man/man1/mkimage.1
}