PKGBUILDs/alarm/uboot-wandboard/PKGBUILD

42 lines
875 B
Bash
Raw Normal View History

2013-07-26 01:34:52 +00:00
# U-Boot: Wandboard
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4
2015-11-03 01:11:03 +00:00
pkgname=uboot-wandboard
pkgver=2015.10
2014-03-19 21:35:55 +00:00
pkgrel=1
2015-11-03 01:11:03 +00:00
pkgdesc="U-Boot for Wandboard"
2013-07-26 01:34:52 +00:00
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
2014-11-23 21:01:41 +00:00
makedepends=('git' 'bc')
2015-11-03 01:11:03 +00:00
replaces=('uboot-wandboard-solo' 'uboot-wandboard-dual' 'uboot-wandboard-quad')
install=${pkgname}.install
2014-03-19 21:35:55 +00:00
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
2014-11-23 21:01:41 +00:00
'0001-arch-linux-arm-modifications.patch')
2015-11-03 01:11:03 +00:00
md5sums=('7c203b0fc3390a122d8e8b75f147eac5'
'710dbb0d9d4a2385f68ba14e86e97fdc')
2013-07-26 01:34:52 +00:00
prepare() {
2014-03-19 21:35:55 +00:00
cd u-boot-${pkgver}
2014-11-23 21:01:41 +00:00
git apply ../0001-arch-linux-arm-modifications.patch
2013-07-26 01:34:52 +00:00
}
build() {
2014-03-19 21:35:55 +00:00
cd u-boot-${pkgver}
2013-07-26 01:34:52 +00:00
2014-11-23 21:01:41 +00:00
unset LDFLAGS
2013-07-26 01:34:52 +00:00
2015-11-03 01:11:03 +00:00
make distclean
make wandboard_defconfig
make
2013-07-26 01:34:52 +00:00
}
2015-11-03 01:11:03 +00:00
package() {
cd u-boot-${pkgver}
2013-07-26 01:34:52 +00:00
mkdir -p "${pkgdir}"/boot
2015-11-03 01:11:03 +00:00
cp SPL u-boot.img "${pkgdir}"/boot
2013-07-26 01:34:52 +00:00
}