2013-11-23 03:57:53 +00:00
|
|
|
# U-Boot: UDOO
|
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
2016-09-24 21:20:31 +00:00
|
|
|
pkgname=uboot-udoo
|
2016-11-19 20:00:39 +00:00
|
|
|
pkgver=2016.11
|
2014-05-18 23:26:47 +00:00
|
|
|
pkgrel=1
|
2016-09-24 21:20:31 +00:00
|
|
|
pkgdesc="U-Boot for UDOO Dual and Quad"
|
2013-11-23 03:57:53 +00:00
|
|
|
arch=('armv7h')
|
2014-05-18 23:26:47 +00:00
|
|
|
url="http://git.denx.de/u-boot.git/"
|
2016-09-24 21:20:31 +00:00
|
|
|
makedepends=('bc' 'dtc' 'git')
|
|
|
|
replaces=('uboot-udoo-dual' 'uboot-udoo-quad')
|
2013-11-23 03:57:53 +00:00
|
|
|
license=('GPL')
|
2016-09-24 21:20:31 +00:00
|
|
|
install=${pkgname}.install
|
|
|
|
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver/rc/-rc}.tar.bz2"
|
2015-01-03 21:48:57 +00:00
|
|
|
'0001-arch-linux-arm-modifications.patch')
|
2016-11-19 20:00:39 +00:00
|
|
|
md5sums=('ca1f6e019d08aff8d0ca1beb2e66737d'
|
|
|
|
'c4323b9ac181ac8f526349eed88e0ded')
|
2013-11-23 03:57:53 +00:00
|
|
|
|
|
|
|
prepare() {
|
2016-09-24 21:20:31 +00:00
|
|
|
cd u-boot-${pkgver/rc/-rc}
|
2014-05-18 23:26:47 +00:00
|
|
|
|
2015-01-03 21:48:57 +00:00
|
|
|
git apply ../0001-arch-linux-arm-modifications.patch
|
2013-11-23 03:57:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2016-09-24 21:20:31 +00:00
|
|
|
cd u-boot-${pkgver/rc/-rc}
|
2013-11-23 03:57:53 +00:00
|
|
|
|
2014-04-06 21:41:08 +00:00
|
|
|
unset CFLAGS CXXFLAGS LDFLAGS
|
2013-11-23 03:57:53 +00:00
|
|
|
|
2016-09-24 21:20:31 +00:00
|
|
|
make distclean
|
|
|
|
make udoo_defconfig
|
|
|
|
make EXTRAVERSION=-${pkgrel}
|
2013-11-23 03:57:53 +00:00
|
|
|
}
|
|
|
|
|
2016-09-24 21:20:31 +00:00
|
|
|
package_uboot-udoo() {
|
|
|
|
cd u-boot-${pkgver/rc/-rc}
|
2013-11-23 03:57:53 +00:00
|
|
|
|
|
|
|
mkdir -p "${pkgdir}"/boot
|
2016-09-24 21:20:31 +00:00
|
|
|
cp SPL u-boot.img "${pkgdir}"/boot
|
2013-11-23 03:57:53 +00:00
|
|
|
}
|