2013-08-10 00:06:59 +00:00
|
|
|
# U-Boot: Beaglebone and Beaglebone Black
|
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=uboot-beaglebone
|
2015-06-07 23:53:27 +00:00
|
|
|
pkgver=2015.04
|
|
|
|
pkgrel=1
|
2013-08-10 00:06:59 +00:00
|
|
|
pkgdesc="U-Boot for Beaglebone and Beaglebone Black"
|
|
|
|
arch=('armv7h')
|
|
|
|
url="http://git.denx.de/u-boot.git/"
|
2015-06-07 23:53:27 +00:00
|
|
|
makedepends=('git' 'bc')
|
2013-08-10 00:06:59 +00:00
|
|
|
license=('GPL')
|
2015-06-07 23:53:27 +00:00
|
|
|
install=${pkgname}.install
|
2014-08-10 18:47:16 +00:00
|
|
|
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
|
2015-06-07 23:53:27 +00:00
|
|
|
'0001-arch-linux-arm-modifications.patch'
|
2013-08-10 00:06:59 +00:00
|
|
|
'uEnv.txt')
|
2015-06-07 23:53:27 +00:00
|
|
|
md5sums=('570bdc2c47270c2a98ca60ff6c5c74cd'
|
|
|
|
'b09551195d8c45ab7c0ec5df8d66e522'
|
2014-08-10 18:47:16 +00:00
|
|
|
'ccb79775b81654e16fca18825c7f2506')
|
2013-08-10 00:06:59 +00:00
|
|
|
|
|
|
|
prepare() {
|
2014-08-10 18:47:16 +00:00
|
|
|
cd u-boot-${pkgver}
|
2015-06-07 23:53:27 +00:00
|
|
|
git apply ../0001-arch-linux-arm-modifications.patch
|
2013-08-10 00:06:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2014-08-10 18:47:16 +00:00
|
|
|
cd u-boot-${pkgver}
|
2013-08-10 00:06:59 +00:00
|
|
|
|
2015-06-07 23:53:27 +00:00
|
|
|
unset CFLAGS CXXFLAGS LDFLAGS
|
2013-08-10 00:06:59 +00:00
|
|
|
|
|
|
|
make distclean
|
|
|
|
make am335x_evm_config
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-08-10 18:47:16 +00:00
|
|
|
cd u-boot-${pkgver}
|
2013-08-10 00:06:59 +00:00
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
|
|
cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot
|
|
|
|
}
|