New package: beaglebone-uboot-2014.10.
This commit is contained in:
parent
ee9f704407
commit
149f21852a
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for 'beaglebone-uboot'
|
||||||
|
pkgname=beaglebone-uboot
|
||||||
|
version=2014.10
|
||||||
|
revision=1
|
||||||
|
wrksrc="u-boot-${version}"
|
||||||
|
hostmakedepends="bc"
|
||||||
|
short_desc="Beaglebone and BeagleBone Black U-Boot loader"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://www.denx.de/wiki/U-Boot/WebHome"
|
||||||
|
distfiles="http://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
|
||||||
|
checksum=d3b132a7a9b3f3182b7aad71c2dfbd4fc15bea83e12c76134eb3ffefc07d1c71
|
||||||
|
|
||||||
|
only_for_archs="armv7l"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
unset CFLAGS CXXFLAGS LDFLAGS
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
make CROSS_COMPILE=${XBPS_CROSS_TRIPLET}- am335x_evm_config
|
||||||
|
make CROSS_COMPILE=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
||||||
|
else
|
||||||
|
make am335x_evm_config
|
||||||
|
make ${makejobs}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
do_install() {
|
||||||
|
vinstall MLO 644 boot
|
||||||
|
vinstall u-boot.img 644 boot
|
||||||
|
}
|
Loading…
Reference in New Issue