From cb28a021a9e4a8f6f5cb46c2fb8b4782dae1d7e3 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 30 May 2016 15:49:07 -0300 Subject: uboot-sunxi-2016.01-1.parabola3: add support for Banana Pi and Banana Pro - Packaging request #1018 -> https://labs.parabola.nu/issues/1018 --- libre/uboot-sunxi/PKGBUILD | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'libre/uboot-sunxi/PKGBUILD') 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 +# Contributor: Timothy Redaelli 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 -- cgit v1.2.3