2014-02-02 21:17:36 +00:00
|
|
|
# U-Boot: BeagleBoard and BeagleBoard-xM
|
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=uboot-beagleboard
|
2016-10-07 01:09:09 +00:00
|
|
|
pkgver=2016.09
|
2014-02-02 21:17:36 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="U-Boot for BeagleBoard and BeagleBoard-xM"
|
|
|
|
arch=('armv7h')
|
|
|
|
url="http://git.denx.de/u-boot.git/"
|
|
|
|
license=('GPL')
|
2015-06-08 01:15:39 +00:00
|
|
|
makedepends=('git' 'bc')
|
2016-10-07 01:09:09 +00:00
|
|
|
backup=('boot/uEnv.txt')
|
|
|
|
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver/rc/-rc}.tar.bz2"
|
2015-06-08 01:15:39 +00:00
|
|
|
'0001-arch-linux-arm-modifications.patch'
|
2014-02-02 21:17:36 +00:00
|
|
|
'uEnv.txt')
|
2016-10-07 01:09:09 +00:00
|
|
|
md5sums=('2e69dda70eb28f8042d2f9fbeb1feaa1'
|
|
|
|
'0bd6e9db86c801ee18f2a6c26af5eb6c'
|
2015-06-08 01:15:39 +00:00
|
|
|
'd41d8cd98f00b204e9800998ecf8427e')
|
2014-02-02 21:17:36 +00:00
|
|
|
|
|
|
|
prepare() {
|
2016-10-07 01:09:09 +00:00
|
|
|
cd u-boot-${pkgver/rc/-rc}
|
2015-06-08 01:15:39 +00:00
|
|
|
git apply ../0001-arch-linux-arm-modifications.patch
|
2014-02-02 21:17:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2016-10-07 01:09:09 +00:00
|
|
|
cd u-boot-${pkgver/rc/-rc}
|
2014-02-02 21:17:36 +00:00
|
|
|
|
|
|
|
unset LDFLAGS CFLAGS CXXFLAGS
|
|
|
|
|
|
|
|
make distclean
|
|
|
|
make omap3_beagle_config
|
2016-10-07 01:09:09 +00:00
|
|
|
make EXTRAVERSION=-${pkgrel}
|
2014-02-02 21:17:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-10-07 01:09:09 +00:00
|
|
|
cd u-boot-${pkgver/rc/-rc}
|
2014-02-02 21:17:36 +00:00
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
|
|
cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot
|
|
|
|
}
|