mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
40 lines
908 B
Bash
40 lines
908 B
Bash
# U-Boot: BeagleBoard and BeagleBoard-xM
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
buildarch=4
|
|
|
|
pkgname=uboot-beagleboard
|
|
pkgver=2016.01
|
|
pkgrel=1
|
|
pkgdesc="U-Boot for BeagleBoard and BeagleBoard-xM"
|
|
arch=('armv7h')
|
|
url="http://git.denx.de/u-boot.git/"
|
|
license=('GPL')
|
|
makedepends=('git' 'bc')
|
|
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
|
|
'0001-arch-linux-arm-modifications.patch'
|
|
'uEnv.txt')
|
|
md5sums=('7d4f65fd43d4d706f5c5650e020d899d'
|
|
'373fac8aefcf8bea149ecb60162f0904'
|
|
'd41d8cd98f00b204e9800998ecf8427e')
|
|
|
|
prepare() {
|
|
cd u-boot-${pkgver}
|
|
git apply ../0001-arch-linux-arm-modifications.patch
|
|
}
|
|
|
|
build() {
|
|
cd u-boot-${pkgver}
|
|
|
|
unset LDFLAGS CFLAGS CXXFLAGS
|
|
|
|
make distclean
|
|
make omap3_beagle_config
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd u-boot-${pkgver}
|
|
mkdir -p "${pkgdir}"/boot
|
|
cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot
|
|
}
|