PKGBUILDs/alarm/uboot-beaglebone/PKGBUILD

42 lines
848 B
Bash
Raw Normal View History

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
2014-08-10 18:47:16 +00:00
pkgver=2014.07
2014-08-11 01:38:28 +00:00
pkgrel=2
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/"
license=('GPL')
2014-08-10 18:47:16 +00:00
makedepends=('bc')
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
'alarm.patch'
2013-08-10 00:06:59 +00:00
'uEnv.txt')
2014-08-10 18:47:16 +00:00
md5sums=('36d4bad687edcafa396fee607e505d4e'
2014-08-11 01:38:28 +00:00
'c0137fc5549efcc1ec3b32c421bea286'
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}
patch -p1 -i ../alarm.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
unset CFLAGS
unset CXXFLAGS
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
}