summaryrefslogtreecommitdiff
path: root/libre/uboot-sunxi
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-10 18:43:56 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-10 18:52:54 -0300
commit26105e3cbbfd801bf65c4fd1fe78f31c0681ef22 (patch)
tree01d948fbdd754ea7ba00b75373bd9ad6651b0036 /libre/uboot-sunxi
parent558b4244062101ef0a2d1f575d10b748c7b0fd4c (diff)
uboot-sunxi-2016.01-1.parabola2: add uboot-chip to split package
Diffstat (limited to 'libre/uboot-sunxi')
-rw-r--r--libre/uboot-sunxi/PKGBUILD18
1 files changed, 17 insertions, 1 deletions
diff --git a/libre/uboot-sunxi/PKGBUILD b/libre/uboot-sunxi/PKGBUILD
index e573f1d45..aa6133b6e 100644
--- a/libre/uboot-sunxi/PKGBUILD
+++ b/libre/uboot-sunxi/PKGBUILD
@@ -11,6 +11,7 @@ pkgname=('uboot-a10-olinuxino-lime'
'uboot-a20-olinuxino-lime'
'uboot-a20-olinuxino-lime2'
'uboot-a20-olinuxino-micro'
+ 'uboot-chip'
'uboot-cubieboard'
'uboot-cubieboard2'
'uboot-cubietruck'
@@ -18,7 +19,7 @@ pkgname=('uboot-a10-olinuxino-lime'
'uboot-pcduino3'
'uboot-pcduino3-nano')
pkgver=2016.01
-pkgrel=1.parabola1
+pkgrel=1.parabola2
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
@@ -41,6 +42,7 @@ boards=('A10-OLinuXino-Lime'
'A20-OLinuXino-Lime'
'A20-OLinuXino-Lime2'
'A20-OLinuXino_MICRO'
+ 'CHIP'
'Cubieboard'
'Cubieboard2'
'Cubietruck'
@@ -177,6 +179,20 @@ package_uboot-a20-olinuxino-micro() {
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
}
+package_uboot-chip() {
+ pkgdesc="U-Boot for C.H.I.P"
+ install=${pkgbase}.install
+ provides=('uboot-sunxi')
+ conflicts=('uboot-sunxi' 'uboot4extlinux-sunxi' 'uboot4grub-sunxi')
+
+ install -d "${pkgdir}"/boot
+ install -Dm644 bin_CHIP/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-cubieboard() {
pkgdesc="U-Boot for Cubieboard"
install=${pkgbase}.install