diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-30 15:49:07 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-30 15:49:56 -0300 |
commit | cb28a021a9e4a8f6f5cb46c2fb8b4782dae1d7e3 (patch) | |
tree | 08f7ba309784cdc3ee6393142982d637bba8c9ba | |
parent | 8eaf513685d88a1804795a2d842a0fecd682502d (diff) | |
download | abslibre-cb28a021a9e4a8f6f5cb46c2fb8b4782dae1d7e3.tar.gz abslibre-cb28a021a9e4a8f6f5cb46c2fb8b4782dae1d7e3.tar.bz2 abslibre-cb28a021a9e4a8f6f5cb46c2fb8b4782dae1d7e3.zip |
uboot-sunxi-2016.01-1.parabola3: add support for Banana Pi and Banana Pro - Packaging request #1018 -> https://labs.parabola.nu/issues/1018
-rw-r--r-- | libre/uboot-sunxi/PKGBUILD | 35 |
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 |