mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
New package: usbarmory-u-boot-2015.04
This commit is contained in:
parent
594d356ea0
commit
71cddadfd5
1 changed files with 33 additions and 0 deletions
33
srcpkgs/usbarmory-u-boot/template
Normal file
33
srcpkgs/usbarmory-u-boot/template
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Template file for 'usbarmory-uboot'
|
||||||
|
pkgname=usbarmory-u-boot
|
||||||
|
version=2015.04
|
||||||
|
revision=1
|
||||||
|
wrksrc="u-boot-$version"
|
||||||
|
hostmakedepends="uboot-mkimage"
|
||||||
|
short_desc="USB armory U-Boot files for SD booting"
|
||||||
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="https://github.com/hardkernel/u-boot"
|
||||||
|
distfiles="http://ftp.denx.de/pub/u-boot/u-boot-$version.tar.bz2"
|
||||||
|
checksum="0a1a70df586655f527befa6f12e184e96ed61b126e5a567382321b17200f5d60"
|
||||||
|
|
||||||
|
only_for_archs="armv7l"
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
make distclean
|
||||||
|
make usbarmory_config
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
unset CFLAGS CXXFLAGS LDFLAGS
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
make ARCH=arm CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
|
||||||
|
else
|
||||||
|
make ARCH=arm
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall u-boot.imx 600 boot
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue