2013-07-19 19:54:57 +00:00
|
|
|
# U-Boot: Pandaboard and Pandaboard ES
|
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
2013-07-19 20:14:45 +00:00
|
|
|
buildarch=4
|
|
|
|
|
2013-07-19 19:54:57 +00:00
|
|
|
pkgname=uboot-pandaboard
|
2015-06-08 00:01:14 +00:00
|
|
|
pkgver=2015.04
|
2014-05-17 20:00:54 +00:00
|
|
|
pkgrel=1
|
2013-07-19 19:54:57 +00:00
|
|
|
pkgdesc="U-Boot for Pandaboard and Pandaboard ES"
|
|
|
|
arch=('armv7h')
|
|
|
|
url="http://git.denx.de/u-boot.git/"
|
2014-11-23 07:04:09 +00:00
|
|
|
makedepends=('git' 'bc')
|
2013-07-19 19:54:57 +00:00
|
|
|
license=('GPL')
|
2014-11-23 07:04:09 +00:00
|
|
|
install=${pkgname}.install
|
2014-05-17 20:00:54 +00:00
|
|
|
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
|
2014-11-23 07:04:09 +00:00
|
|
|
'0001-arch-linux-arm-modifications.patch'
|
2013-07-19 19:54:57 +00:00
|
|
|
'uEnv.txt')
|
2015-06-08 00:01:14 +00:00
|
|
|
md5sums=('570bdc2c47270c2a98ca60ff6c5c74cd'
|
|
|
|
'6a4060a6cef75dd47b841c7a46a866e8'
|
2014-11-23 07:04:09 +00:00
|
|
|
'86004660f2912861a040e335c9c0e85b')
|
2013-07-19 19:54:57 +00:00
|
|
|
|
|
|
|
prepare() {
|
2014-05-17 20:00:54 +00:00
|
|
|
cd u-boot-${pkgver}
|
2014-01-08 03:05:06 +00:00
|
|
|
|
2014-11-23 07:04:09 +00:00
|
|
|
git apply ../0001-arch-linux-arm-modifications.patch
|
2013-07-19 19:54:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2014-05-17 20:00:54 +00:00
|
|
|
cd u-boot-${pkgver}
|
2014-01-08 03:05:06 +00:00
|
|
|
|
|
|
|
unset LDFLAGS
|
|
|
|
|
2013-07-19 19:54:57 +00:00
|
|
|
make distclean
|
|
|
|
make omap4_panda_config
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-05-17 20:00:54 +00:00
|
|
|
cd u-boot-${pkgver}
|
|
|
|
|
2013-07-19 19:54:57 +00:00
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
|
|
cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot
|
|
|
|
}
|