mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
36 lines
638 B
Bash
36 lines
638 B
Bash
# U-Boot: UDOO
|
|
# Maintainer: Dave Higham <pepedog@archlinuxarm.org>
|
|
|
|
buildarch=4
|
|
|
|
pkgbase=uboot-cubox-i
|
|
pkgname=('uboot-cubox-i')
|
|
pkgver=2013.10
|
|
pkgrel=1
|
|
arch=('armv7h')
|
|
url="http://git.denx.de/u-boot.git/"
|
|
license=('GPL')
|
|
makedepends=('git')
|
|
option=('!strip')
|
|
source=("uboot::git+https://github.com/SolidRun/u-boot-imx6.git")
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd uboot
|
|
LDFLAGS=""
|
|
unset CFLAGS
|
|
unset CXXFLAGS
|
|
|
|
make mx6_cubox-i_config
|
|
make
|
|
}
|
|
|
|
package() {
|
|
pkgdesc="U-Boot for all Cubox-i variants"
|
|
install=${pkgbase}.install
|
|
|
|
mkdir -p "${pkgdir}"/boot
|
|
cp uboot/u-boot.img "${pkgdir}"/boot
|
|
cp uboot/SPL "${pkgdir}"/boot
|
|
}
|
|
|