summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/uboot-sunxi/PKGBUILD35
1 files changed, 34 insertions, 1 deletions
diff --git a/libre/uboot-sunxi/PKGBUILD b/libre/uboot-sunxi/PKGBUILD
index aa6133b6e..0308484b2 100644
--- a/libre/uboot-sunxi/PKGBUILD
+++ b/libre/uboot-sunxi/PKGBUILD
@@ -1,5 +1,6 @@
# U-Boot: sunXi
# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
buildarch=4
@@ -11,6 +12,8 @@ pkgname=('uboot-a10-olinuxino-lime'
'uboot-a20-olinuxino-lime'
'uboot-a20-olinuxino-lime2'
'uboot-a20-olinuxino-micro'
+ 'uboot-bananapi'
+ 'uboot-bananapro'
'uboot-chip'
'uboot-cubieboard'
'uboot-cubieboard2'
@@ -19,7 +22,7 @@ pkgname=('uboot-a10-olinuxino-lime'
'uboot-pcduino3'
'uboot-pcduino3-nano')
pkgver=2016.01
-pkgrel=1.parabola2
+pkgrel=1.parabola3
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
@@ -42,6 +45,8 @@ boards=('A10-OLinuXino-Lime'
'A20-OLinuXino-Lime'
'A20-OLinuXino-Lime2'
'A20-OLinuXino_MICRO'
+ 'Bananapi'
+ 'Bananapro'
'CHIP'
'Cubieboard'
'Cubieboard2'
@@ -179,6 +184,34 @@ package_uboot-a20-olinuxino-micro() {
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
}
+package_uboot-bananapi() {
+ pkgdesc="U-Boot for Banana Pi"
+ install=${pkgbase}.install
+ provides=('uboot-sunxi')
+ conflicts=('uboot-sunxi' 'uboot4extlinux-sunxi' 'uboot4grub-sunxi')
+
+ install -d "${pkgdir}"/boot
+ install -Dm644 bin_Bananapi/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot/u-boot-sunxi-with-spl.bin
+
+ install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
+ install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
+ install -Dm755 mkscr "${pkgdir}"/boot/mkscr
+}
+
+package_uboot-bananapro() {
+ pkgdesc="U-Boot for Banana Pro"
+ install=${pkgbase}.install
+ provides=('uboot-sunxi')
+ conflicts=('uboot-sunxi' 'uboot4extlinux-sunxi' 'uboot4grub-sunxi')
+
+ install -d "${pkgdir}"/boot
+ install -Dm644 bin_Bananapro/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot/u-boot-sunxi-with-spl.bin
+
+ install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
+ install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
+ install -Dm755 mkscr "${pkgdir}"/boot/mkscr
+}
+
package_uboot-chip() {
pkgdesc="U-Boot for C.H.I.P"
install=${pkgbase}.install