PKGBUILDs/alarm/uboot-cubox-i/PKGBUILD

37 lines
638 B
Bash
Raw Normal View History

2014-03-04 13:31:30 +00:00
# U-Boot: UDOO
# Maintainer: Dave Higham <pepedog@archlinuxarm.org>
buildarch=4
pkgbase=uboot-cubox-i
pkgname=('uboot-cubox-i')
2014-09-11 14:12:47 +00:00
pkgver=2013.10
pkgrel=1
2014-03-04 13:31:30 +00:00
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
makedepends=('git')
option=('!strip')
source=("uboot::git+https://github.com/SolidRun/u-boot-imx6.git")
md5sums=('SKIP')
build() {
cd uboot
2014-03-04 14:17:41 +00:00
LDFLAGS=""
2014-03-04 13:31:30 +00:00
unset CFLAGS
unset CXXFLAGS
make mx6_cubox-i_config
make
}
package() {
pkgdesc="U-Boot for all Cubox-i variants"
install=${pkgbase}.install
mkdir -p "${pkgdir}"/boot
cp uboot/u-boot.img "${pkgdir}"/boot
cp uboot/SPL "${pkgdir}"/boot
}