PKGBUILDs/alarm/uboot-pandaboard/PKGBUILD

46 lines
1 KiB
Bash
Raw Normal View History

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
2014-01-08 03:05:06 +00:00
pkgver=2013.10
2014-01-08 04:01:32 +00:00
pkgrel=2
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/"
license=('GPL')
makedepends=('git')
source=("uboot::git://git.denx.de/u-boot.git#tag=v${pkgver}"
'http://raw.github.com/eewiki/u-boot-patches/master/v${pkgver}/0001-omap4_common-uEnv.txt-bootz-n-fixes.patch'
'alarm.patch'
'uEnv.txt')
md5sums=('SKIP'
2014-01-08 03:05:06 +00:00
'683bf12be7b0be3de60cf2f33e85a011'
'148982b955b96dfd16284181523df1a1'
2014-01-08 04:01:32 +00:00
'e311fff8d388e9a8f2672cb8c5c819ac')
2013-07-19 19:54:57 +00:00
prepare() {
cd uboot
2014-01-08 03:05:06 +00:00
rm -rf .git
2013-07-19 19:54:57 +00:00
patch -p1 -i "${srcdir}"/0001-omap4_common-uEnv.txt-bootz-n-fixes.patch
patch -p1 -i "${srcdir}"/alarm.patch
}
build() {
cd uboot
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() {
cd uboot
mkdir -p "${pkgdir}"/boot
cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot
}