1 # Template file for 'usbarmory-uboot'
2 pkgname=usbarmory-u-boot
5 wrksrc="u-boot-$version"
6 hostmakedepends="uboot-mkimage bc"
7 short_desc="USB armory U-Boot files for SD booting"
8 maintainer="Enno Boland <gottox@voidlinux.eu>"
10 homepage="https://github.com/hardkernel/u-boot"
11 distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-$version.tar.bz2"
12 checksum="0a1a70df586655f527befa6f12e184e96ed61b126e5a567382321b17200f5d60"
14 only_for_archs="armv7l armv7l-musl"
22 unset CFLAGS CXXFLAGS LDFLAGS
24 if [ "$CROSS_BUILD" ]; then
25 make ARCH=arm CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
32 vinstall u-boot.imx 600 boot