Initial commit of the iteaduino's.

This commit is contained in:
William Christensen 2014-06-07 02:21:48 -04:00
parent e63f86ea70
commit 2503ee9a0f

View file

@ -16,12 +16,18 @@ _commit=660aa6fd9e1c25baabfcf4dfce42381547f5f59b
source=("https://github.com/linux-sunxi/u-boot-sunxi/archive/${_commit}.tar.gz"
'alarm.patch'
'cubieboard2.fex' 'cubieboard2.env'
'cubietruck.fex' 'cubietruck.env')
'cubietruck.fex' 'cubietruck.env'
'iteaduino_plus_a10.fex' 'iteaduino_plus_a10.env'
'iteaduino_plus_a20.fex' 'iteaduino_plus_a20.env' )
md5sums=('019e2a420fa9d9a5e24aaf9cd8de2104'
'f2f60fca0d93ef62c6a95c4f3254a829'
'36c04988cecd53151f3f5ff5c48d76a9'
'd41d8cd98f00b204e9800998ecf8427e'
'c898ab1b57f474d620f5704b2a53d87c'
'd41d8cd98f00b204e9800998ecf8427e'
'aa401a14c409347842040592d58e7f80'
'd41d8cd98f00b204e9800998ecf8427e'
'f68d14c13b934a66a3f951bc3bd59f3b'
'd41d8cd98f00b204e9800998ecf8427e')
prepare() {
@ -47,7 +53,7 @@ build() {
package_uboot-cubieboard2() {
pkgdesc="U-Boot for Cubieboard 2"
install=${pkgbase}.install
conflicts=('uboot-cubietruck')
conflicts=('uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20')
mkdir -p "${pkgdir}"/boot
cp bin_Cubieboard2/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
@ -59,7 +65,7 @@ package_uboot-cubieboard2() {
package_uboot-cubietruck() {
pkgdesc="U-Boot for Cubietruck"
install=${pkgbase}.install
conflicts=('uboot-cubieboard2')
conflicts=('uboot-cubieboard2' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20')
mkdir -p "${pkgdir}"/boot
cp bin_Cubietruck/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
@ -67,3 +73,28 @@ package_uboot-cubietruck() {
fex2bin cubietruck.fex "${pkgdir}"/boot/script.bin
cp cubietruck.env "${pkgdir}"/boot/uEnv.txt
}
package_uboot-iteaduino_plus_a10() {
pkgdesc="U-Boot for Iteaduino Plus A10"
install=${pkgbase}.install
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a20')
mkdir -p "${pkgdir}"/boot
cp bin_iteaduino_plus_a10/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
fex2bin iteaduino_plus_a10.fex "${pkgdir}"/boot/script.bin
cp iteaduino_plus_a10.env "${pkgdir}"/boot/uEnv.txt
}
package_uboot-iteaduino_plus_a20() {
pkgdesc="U-Boot for Iteaduino Plus A20"
install=${pkgbase}.install
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a10')
mkdir -p "${pkgdir}"/boot
cp bin_iteaduino_plus_a20/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
fex2bin iteaduino_plus_a20.fex "${pkgdir}"/boot/script.bin
cp iteaduino_plus_a20.env "${pkgdir}"/boot/uEnv.txt
}