mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
c84c83a769
--- Updated Cubox-i U-Boot to mainline 2015.07. Boot script was changed (to keep deviations from mainline minimal), but support for uEnv.txt was added in case you need something specific. Tested with linux-armv7 on a Cubox-i4pro.
49 lines
979 B
Bash
49 lines
979 B
Bash
# U-Boot: UDOO
|
|
# Maintainer: Dave Higham <pepedog@archlinuxarm.org>
|
|
|
|
buildarch=4
|
|
|
|
pkgbase=uboot-cubox-i
|
|
pkgname=('uboot-cubox-i')
|
|
pkgver=2015.07
|
|
pkgrel=2
|
|
arch=('armv7h')
|
|
url="http://git.denx.de/u-boot.git/"
|
|
license=('GPL')
|
|
makedepends=('bc' 'dtc' 'git')
|
|
option=('!strip')
|
|
_commit=e509dd30e97bf2cbce21502e4462d9d7c1d85daa
|
|
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
|
|
"0001-Arch-Linux-ARM-modifications.patch")
|
|
md5sums=('3dac9a0b46fed77fc768ad3bd2d68c05'
|
|
'5de66b57790e633d309025a983d1eaa7')
|
|
|
|
prepare() {
|
|
cd u-boot-${pkgver}
|
|
|
|
patch -Np1 -i ../0001-Arch-Linux-ARM-modifications.patch
|
|
}
|
|
|
|
build() {
|
|
cd u-boot-${pkgver}
|
|
|
|
unset CFLAGS
|
|
unset CXXFLAGS
|
|
unset LDFLAGS
|
|
|
|
make distclean
|
|
make mx6cuboxi_config
|
|
make EXTRAVERSION=-${pkgrel}
|
|
}
|
|
|
|
package() {
|
|
pkgdesc="U-Boot for all Cubox-i variants"
|
|
install=${pkgbase}.install
|
|
|
|
cd u-boot-${pkgver}
|
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
cp u-boot.img "${pkgdir}"/boot
|
|
cp SPL "${pkgdir}"/boot
|
|
}
|
|
|