mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
Added support for the A20-OLiniXino_Micro in the PKGBUILD and added the respective fex and env files. Additionally fixed the PKGBUILD so it only has a single MD5SUM variable.
This commit is contained in:
parent
2964c5fde2
commit
6296d0e246
3 changed files with 1108 additions and 21 deletions
|
@ -20,7 +20,9 @@ source=("https://github.com/linux-sunxi/u-boot-sunxi/archive/${_commit}.tar.gz"
|
|||
'cubietruck.fex' 'cubietruck.env'
|
||||
'iteaduino_plus_a10.fex' 'iteaduino_plus_a10.env'
|
||||
'iteaduino_plus_a20.fex' 'iteaduino_plus_a20.env'
|
||||
'hackberry.fex' 'hackberry.env')
|
||||
'hackberry.fex' 'hackberry.env'
|
||||
'a20-olinuxino_micro.fex' 'a20-olinuxino_micro.env')
|
||||
|
||||
md5sums=('8e4f2a2c1384f31eca5d3864b86e8351'
|
||||
'9e9f1cb9c1b069b8ad9c0e522fb139aa'
|
||||
'36c04988cecd53151f3f5ff5c48d76a9'
|
||||
|
@ -30,7 +32,12 @@ md5sums=('8e4f2a2c1384f31eca5d3864b86e8351'
|
|||
'1bd3355ad6c6c6976c664223958db3f4'
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'4b85ce18f33c9b4a6338fa973df44f54'
|
||||
'd41d8cd98f00b204e9800998ecf8427e')
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'd19b25217059a2594c53ffe0eb1e0a12'
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'2cac23939b761d1ea668faa2c68b3688'
|
||||
'd41d8cd98f00b204e9800998ecf8427e' )
|
||||
|
||||
|
||||
prepare() {
|
||||
cd u-boot-sunxi-${_commit}
|
||||
|
@ -44,11 +51,11 @@ build() {
|
|||
unset CXXFLAGS
|
||||
unset LDFLAGS
|
||||
|
||||
for i in Cubieboard2 Cubietruck Iteaduino_Plus_A10 Iteaduino_Plus_A20 Hackberry; do
|
||||
for i in Cubieboard2 Cubietruck Iteaduino_Plus_A10 Iteaduino_Plus_A20 Hackberry A20-OLinuXino_MICRO; do
|
||||
mkdir ../bin_${i}
|
||||
make distclean
|
||||
make ${i}_config
|
||||
make
|
||||
make -j5
|
||||
mv u-boot-sunxi-with-spl.bin ../bin_${i}
|
||||
done
|
||||
}
|
||||
|
@ -56,7 +63,7 @@ build() {
|
|||
package_uboot-cubieboard2() {
|
||||
pkgdesc="U-Boot for Cubieboard 2"
|
||||
install=${pkgbase}.install
|
||||
conflicts=('uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20' 'uboot-hackberry')
|
||||
conflicts=('uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20' 'uboot-hackberry' 'uboot-a20-olinuxino_micro')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp bin_Cubieboard2/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
@ -68,7 +75,7 @@ package_uboot-cubieboard2() {
|
|||
package_uboot-cubietruck() {
|
||||
pkgdesc="U-Boot for Cubietruck"
|
||||
install=${pkgbase}.install
|
||||
conflicts=('uboot-cubieboard2' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20' 'uboot-hackberry')
|
||||
conflicts=('uboot-cubieboard2' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20' 'uboot-hackberry' 'uboot-a20-olinuxino_micro')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp bin_Cubietruck/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
@ -80,7 +87,7 @@ package_uboot-cubietruck() {
|
|||
package_uboot-iteaduino_plus_a10() {
|
||||
pkgdesc="U-Boot for Iteaduino Plus A10"
|
||||
install=${pkgbase}.install
|
||||
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a20' 'uboot-hackberry')
|
||||
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a20' 'uboot-hackberry' 'uboot-a20-olinuxino_micro')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp bin_Iteaduino_Plus_A10/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
@ -92,7 +99,7 @@ package_uboot-iteaduino_plus_a10() {
|
|||
package_uboot-iteaduino_plus_a20() {
|
||||
pkgdesc="U-Boot for Iteaduino Plus A20"
|
||||
install=${pkgbase}.install
|
||||
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-hackberry')
|
||||
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-hackberry' 'uboot-a20-olinuxino_micro')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp bin_Iteaduino_Plus_A20/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
@ -104,7 +111,7 @@ package_uboot-iteaduino_plus_a20() {
|
|||
package_uboot-hackberry() {
|
||||
pkgdesc="U-Boot for Hackberry"
|
||||
install=${pkgbase}.install
|
||||
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20')
|
||||
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20' 'uboot-a20-olinuxino_micro')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp bin_Hackberry/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
@ -112,15 +119,17 @@ package_uboot-hackberry() {
|
|||
fex2bin hackberry.fex "${pkgdir}"/boot/script.bin
|
||||
cp hackberry.env "${pkgdir}"/boot/uEnv.txt
|
||||
}
|
||||
md5sums=('8e4f2a2c1384f31eca5d3864b86e8351'
|
||||
'9e9f1cb9c1b069b8ad9c0e522fb139aa'
|
||||
'36c04988cecd53151f3f5ff5c48d76a9'
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'c898ab1b57f474d620f5704b2a53d87c'
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'1bd3355ad6c6c6976c664223958db3f4'
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'4b85ce18f33c9b4a6338fa973df44f54'
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'd19b25217059a2594c53ffe0eb1e0a12'
|
||||
'd41d8cd98f00b204e9800998ecf8427e')
|
||||
|
||||
package_uboot-a20-olinuxino_micro() {
|
||||
pkgdesc="U-Boot for A20 OLinuXino Micro"
|
||||
install=${pkgbase}.install
|
||||
conflicts=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20' 'uboot-hackberry')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp bin_A20-OLinuXino_MICRO/u-boot-sunxi-with-spl.bin "${pkgdir}"/boot
|
||||
|
||||
fex2bin a20-olinuxino_micro.fex "${pkgdir}"/boot/script.bin
|
||||
cp a20-olinuxino_micro.env "${pkgdir}"/boot/uEnv.txt
|
||||
}
|
||||
|
||||
|
||||
|
|
0
alarm/uboot-sunxi/a20-olinuxino_micro.env
Normal file
0
alarm/uboot-sunxi/a20-olinuxino_micro.env
Normal file
1078
alarm/uboot-sunxi/a20-olinuxino_micro.fex
Normal file
1078
alarm/uboot-sunxi/a20-olinuxino_micro.fex
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue