mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
alarm/uboot-sunxi to 2015.04-1
This commit is contained in:
parent
c512f434ac
commit
9e6c055e2d
1 changed files with 140 additions and 145 deletions
|
@ -4,38 +4,45 @@
|
|||
buildarch=4
|
||||
|
||||
pkgbase=uboot-sunxi
|
||||
pkgname=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-a20-olinuxino-micro' 'uboot-a13-olinuxino-micro'
|
||||
'uboot-a13-olinuxino' 'uboot-a10-olinuxino-lime' 'uboot-a20-olinuxino-lime' 'uboot-a20-olinuxino-lime2'
|
||||
'uboot-a10s-olinuxino-micro' 'uboot-a10s-olinuxino-micro-lcd7' 'uboot-cubieboard'
|
||||
pkgname=('uboot-a10-olinuxino-lime'
|
||||
'uboot-a10s-olinuxino-micro'
|
||||
'uboot-a13-olinuxino'
|
||||
'uboot-a13-olinuxino-micro'
|
||||
'uboot-a20-olinuxino-lime'
|
||||
'uboot-a20-olinuxino-lime2'
|
||||
'uboot-a20-olinuxino-micro'
|
||||
'uboot-cubieboard'
|
||||
'uboot-cubieboard2'
|
||||
'uboot-cubietruck'
|
||||
'uboot-pcduino'
|
||||
'uboot-pcduino3')
|
||||
pkgver=2015.01
|
||||
pkgrel=5
|
||||
pkgver=2015.04
|
||||
pkgrel=1
|
||||
arch=('armv7h')
|
||||
url="http://git.denx.de/u-boot.git/"
|
||||
license=('GPL')
|
||||
makedepends=('sunxi-tools' 'git' 'bc' 'uboot-tools')
|
||||
makedepends=('git' 'bc')
|
||||
backup=(boot/boot.txt boot/boot.scr)
|
||||
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
|
||||
'git+https://github.com/linux-sunxi/sunxi-boards.git'
|
||||
'0001-arch-linux-arm-modifications.patch'
|
||||
'boot.txt'
|
||||
'mkscr')
|
||||
md5sums=('7f08dc9e98a71652bd6968888ed6ec95'
|
||||
'SKIP'
|
||||
'dbefe6866ee8a9497699d758f5231ec4'
|
||||
md5sums=('570bdc2c47270c2a98ca60ff6c5c74cd'
|
||||
'ead92cccf290422f5da7b0d99bc212ab'
|
||||
'b05eae006e4e35176ee3032eba1c4663'
|
||||
'021623a04afd29ac3f368977140cfbfd')
|
||||
|
||||
boards=('Cubieboard'
|
||||
'Cubieboard2'
|
||||
'Cubietruck'
|
||||
'A20-OLinuXino_MICRO'
|
||||
'A10-OLinuXino-Lime'
|
||||
'A20-OLinuXino-Lime'
|
||||
'A20-OLinuXino-Lime2'
|
||||
boards=('A10-OLinuXino-Lime'
|
||||
'A10s-OLinuXino-M'
|
||||
'A13-OLinuXino'
|
||||
'A13-OLinuXinoM'
|
||||
'A10s-OLinuXino-M'
|
||||
'A20-OLinuXino-Lime'
|
||||
'A20-OLinuXino-Lime2'
|
||||
'A20-OLinuXino_MICRO'
|
||||
'Cubieboard'
|
||||
'Cubieboard2'
|
||||
'Cubietruck'
|
||||
'Linksprite_pcDuino'
|
||||
'Linksprite_pcDuino3')
|
||||
|
||||
prepare() {
|
||||
|
@ -62,66 +69,6 @@ build() {
|
|||
tools/mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d ../boot.txt ../boot.scr
|
||||
}
|
||||
|
||||
package_uboot-cubieboard() {
|
||||
pkgdesc="U-Boot for Cubieboard"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_Cubieboard/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot/u-boot-sunxi-with-spl.bin
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a10/cubieboard.fex "${pkgdir}"/boot/script.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-cubieboard2() {
|
||||
pkgdesc="U-Boot for Cubieboard 2"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_Cubieboard2/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot/u-boot-sunxi-with-spl.bin
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a20/cubieboard2.fex "${pkgdir}"/boot/script.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-cubietruck() {
|
||||
pkgdesc="U-Boot for Cubietruck"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_Cubietruck/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot/u-boot-sunxi-with-spl.bin
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a20/cubietruck.fex "${pkgdir}"/boot/script.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-a20-olinuxino-micro() {
|
||||
pkgdesc="U-Boot for A20 OLinuXino Micro"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A20-OLinuXino_MICRO/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a20/a20-olinuxino_micro.fex "${pkgdir}"/boot/script.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-a10-olinuxino-lime() {
|
||||
pkgdesc="U-Boot for A10 OLinuXino Lime"
|
||||
install=${pkgbase}.install
|
||||
|
@ -131,67 +78,6 @@ package_uboot-a10-olinuxino-lime() {
|
|||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A10-OLinuXino-Lime/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a10/a10-olinuxino-lime.fex "${pkgdir}"/boot/script.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-a20-olinuxino-lime() {
|
||||
pkgdesc="U-Boot for A20 OLinuXino Lime"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A20-OLinuXino-Lime/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a20/a20-olinuxino_lime.fex "${pkgdir}"/boot/script.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-a20-olinuxino-lime2() {
|
||||
pkgdesc="U-Boot for A20 OLinuXino Lime2"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A20-OLinuXino-Lime2/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a20/a20-olinuxino_lime2.fex "${pkgdir}"/boot/script.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-a13-olinuxino() {
|
||||
pkgdesc="U-Boot for A13 OLinuXino"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A13-OLinuXino/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a13/a13-olinuxino.fex "${pkgdir}"/boot/script.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-a13-olinuxino-micro() {
|
||||
pkgdesc="U-Boot for A13 OLinuXino Micro"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A13-OLinuXinoM/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a13/a13-olinuxinom.fex "${pkgdir}"/boot/script.bin
|
||||
install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
|
||||
install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
|
||||
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
|
||||
|
@ -206,22 +92,132 @@ package_uboot-a10s-olinuxino-micro() {
|
|||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A10s-OLinuXino-M/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a10s/a10s-olinuxino-m.fex "${pkgdir}"/boot/script.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-a10s-olinuxino-micro-lcd7() {
|
||||
pkgdesc="U-Boot for A10s OLinuXino Micro with 7 inch LCD"
|
||||
package_uboot-a13-olinuxino() {
|
||||
pkgdesc="U-Boot for A13 OLinuXino"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A10s-OLinuXino-M/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
install -Dm644 bin_A13-OLinuXino/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
|
||||
install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
|
||||
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
|
||||
}
|
||||
|
||||
package_uboot-a13-olinuxino-micro() {
|
||||
pkgdesc="U-Boot for A13 OLinuXino Micro"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A13-OLinuXinoM/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
|
||||
install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
|
||||
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
|
||||
}
|
||||
|
||||
package_uboot-a20-olinuxino-lime() {
|
||||
pkgdesc="U-Boot for A20 OLinuXino Lime"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A20-OLinuXino-Lime/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
|
||||
install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
|
||||
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
|
||||
}
|
||||
|
||||
package_uboot-a20-olinuxino-lime2() {
|
||||
pkgdesc="U-Boot for A20 OLinuXino Lime2"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A20-OLinuXino-Lime2/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
|
||||
install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
|
||||
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
|
||||
}
|
||||
|
||||
package_uboot-a20-olinuxino-micro() {
|
||||
pkgdesc="U-Boot for A20 OLinuXino Micro"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_A20-OLinuXino_MICRO/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
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
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_Cubieboard/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-cubieboard2() {
|
||||
pkgdesc="U-Boot for Cubieboard 2"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_Cubieboard2/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-cubietruck() {
|
||||
pkgdesc="U-Boot for Cubietruck"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_Cubietruck/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-pcduino() {
|
||||
pkgdesc="U-Boot for pcDuino"
|
||||
install=${pkgbase}.install
|
||||
provides=('uboot-sunxi')
|
||||
conflicts=('uboot-sunxi')
|
||||
|
||||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_Linksprite_pcDuino/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a10s/a10s-olinuxino-m-lcd7.fex "${pkgdir}"/boot/script.bin
|
||||
install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
|
||||
install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
|
||||
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
|
||||
|
@ -236,7 +232,6 @@ package_uboot-pcduino3() {
|
|||
install -d "${pkgdir}"/boot
|
||||
install -Dm644 bin_Linksprite_pcDuino3/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin sunxi-boards/sys_config/a20/linksprite_pcduino3.fex "${pkgdir}"/boot/script.bin
|
||||
install -Dm644 boot.txt "${pkgdir}"/boot/boot.txt
|
||||
install -Dm644 boot.scr "${pkgdir}"/boot/boot.scr
|
||||
install -Dm755 mkscr "${pkgdir}"/boot/mkscr
|
||||
|
|
Loading…
Reference in a new issue