PKGBUILDs/alarm/uboot-cubox-i/PKGBUILD

37 lines
628 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')
pkgver=2013.04
pkgrel=1
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
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
}