2015-03-07 23:58:50 +00:00
|
|
|
# U-Boot: Inverse Path USB armory
|
|
|
|
# Maintainer: Jason Plum <jplum@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=uboot-usbarmory
|
|
|
|
pkgver=2014.07
|
2015-03-28 17:27:33 +00:00
|
|
|
pkgrel=3
|
2015-03-07 23:58:50 +00:00
|
|
|
pkgdesc="U-Boot for USB armory"
|
|
|
|
arch=('armv7h')
|
|
|
|
url="https://github.com/inversepath/u-boot-usbarmory.git"
|
|
|
|
license=('GPL')
|
2015-03-08 00:22:13 +00:00
|
|
|
makedepends=('git' 'bc')
|
2015-03-28 18:07:08 +00:00
|
|
|
source=("u-boot-${pkgver}::git+https://github.com/inversepath/u-boot-usbarmory.git#commit=f31f8430da00f5dde1d7564b059571ca8581dd68"
|
2015-03-07 23:58:50 +00:00
|
|
|
'alarm.patch'
|
|
|
|
'uEnv.txt')
|
|
|
|
md5sums=('SKIP'
|
2015-03-28 18:05:24 +00:00
|
|
|
'06742be0021c4a4123383e3790f21edf'
|
2015-03-28 17:27:33 +00:00
|
|
|
'5e8a8854cc2a154e1a157535f2161913')
|
2015-03-07 23:58:50 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd u-boot-${pkgver}
|
|
|
|
patch -p1 -i ../alarm.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd u-boot-${pkgver}
|
|
|
|
|
|
|
|
unset CFLAGS
|
|
|
|
unset CXXFLAGS
|
|
|
|
|
|
|
|
make distclean
|
|
|
|
make usbarmory_config
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd u-boot-${pkgver}
|
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
|
|
cp u-boot.imx "${srcdir}"/uEnv.txt "${pkgdir}"/boot
|
|
|
|
}
|