aboutsummaryrefslogtreecommitdiffstats
path: root/main/u-boot/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-04-20 10:10:48 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-04-20 10:11:40 +0000
commit4a57461cac5e4a17a4bd1f09ae30cbae2ab0fd18 (patch)
tree804dfd40a1ad1f56cc8f2108433f799cc9b5e186 /main/u-boot/APKBUILD
parentd92a928bb3afefe21d4cd8609383bc38a9decaf5 (diff)
downloadaports-4a57461cac5e4a17a4bd1f09ae30cbae2ab0fd18.tar.bz2
aports-4a57461cac5e4a17a4bd1f09ae30cbae2ab0fd18.tar.xz
main/u-boot: upgrade to 2015.04 and use distroconfig
Diffstat (limited to 'main/u-boot/APKBUILD')
-rw-r--r--main/u-boot/APKBUILD48
1 files changed, 25 insertions, 23 deletions
diff --git a/main/u-boot/APKBUILD b/main/u-boot/APKBUILD
index 9cd3ad3146..7acad6f110 100644
--- a/main/u-boot/APKBUILD
+++ b/main/u-boot/APKBUILD
@@ -2,29 +2,33 @@
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=u-boot
-pkgver=2015.01
-pkgrel=1
+pkgver=2015.04
+pkgrel=0
pkgdesc="Bootloader for ARM"
url="http://www.denx.de/wiki/U-Boot/"
arch="armhf"
license="GPL2"
depends=""
depends_dev=""
-makedepends="$depends_dev"
+makedepends="$depends_dev bc"
install=""
subpackages=""
-source="ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2
+source="ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver//_/-}.tar.bz2
+ distroconfig-beaglebone.patch
+ distroconfig-wandboard.patch
+
include-sys-types.patch
- config-wandboard.patch
- alpine-bootscript.h
"
-_srcdir="$srcdir"/u-boot-$pkgver
+_srcdir="$srcdir"/u-boot-${pkgver//_/-}
_builddir="$srcdir"/build
board_configs="
+ beagleboard:am335x_boneblack
+ cubieboard:Cubieboard,Cubieboard2
+ raspberrypi:rpi,rpi_2
wandboard:wandboard_solo,wandboard_dl,wandboard_quad
- beagleboard:am335x_boneblack"
+ "
for board_config in $board_configs; do
subpackages="$subpackages $pkgname-${board_config%%:*}"
@@ -38,8 +42,6 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
-
- cp "$srcdir"/alpine-bootscript.h "$_srcdir"/include/configs/alpine-bootscript.h
}
build() {
@@ -77,7 +79,7 @@ _split_boards() {
msg "Including board $board"
mkdir -p "$subpkgdir"/usr/share/$pkgname/$board
export BUILD_DIR="$_builddir"/$board
- for image in MLO u-boot.imx u-boot.img; do
+ for image in MLO u-boot.imx u-boot.img u-boot.bin; do
if [ -e "$BUILD_DIR"/$image ]; then
cp "$BUILD_DIR"/$image "$subpkgdir"/usr/share/$pkgname/$board \
|| return 1
@@ -92,15 +94,15 @@ for board_config in $board_configs; do
eval "${board}() { _split_boards $board ${configs//,/ }; }"
done
-md5sums="7f08dc9e98a71652bd6968888ed6ec95 u-boot-2015.01.tar.bz2
-946644b87937315253151db8b1ba98ec include-sys-types.patch
-a81d24110cf527f0eaab0de5ef15b7a1 config-wandboard.patch
-581d2a5a617e0dce93a295fb4f6d4cf6 alpine-bootscript.h"
-sha256sums="383051a656ebe11757b17d38a3326387e4a1b0949ca8a9e8ee506bf71dac9fde u-boot-2015.01.tar.bz2
-675676d857758d2eafab39592ad0f937be4021deb5cc47e44bea174a744871b3 include-sys-types.patch
-aa5a047ea3dddf434ffaca13f284f78facf190d582e26513ea02835e3184726b config-wandboard.patch
-1c185db1fe3de4e5c224c831141863745a8970a39fc9801f45ec92b2e6950b69 alpine-bootscript.h"
-sha512sums="6697c6da5f463bdfa75b8025a2dd302e9cda58ce36bc3252590f11976807aeccc1ca76be93cbc83d3367a7557878516bb57130ffb76197ffd513640c48e18938 u-boot-2015.01.tar.bz2
-3e3a3a1d0f0fb9a41fe0e1427f91d05ec3c70103d5a185ed1d287ea23032ddcd01c0786ddca1d45d05e34df1b4a54a961bd123115798148205a22f6083142a57 include-sys-types.patch
-8236cf2bc838d8f5231c825f660486c5be770e76db60127f5b7bc902d77fefbb5026fb5d63269748057a5f034bb738401a31d54a2f12bcbded5c0cb6099619f0 config-wandboard.patch
-4ce96a48010b061fa77a15992824e7ac161672cab4d933ba91a995dd784bf1c263b6e907a967b02f54dba263677900d62c5eb9e31784672229f9cdac4cde696a alpine-bootscript.h"
+md5sums="570bdc2c47270c2a98ca60ff6c5c74cd u-boot-2015.04.tar.bz2
+a5b2aab8f3613e6f4154714b16ea9ad3 distroconfig-beaglebone.patch
+880f99276de9722b8d85d03a06784d5b distroconfig-wandboard.patch
+2c144ed08a9aab244c0d8ea45e578ce5 include-sys-types.patch"
+sha256sums="0a1a70df586655f527befa6f12e184e96ed61b126e5a567382321b17200f5d60 u-boot-2015.04.tar.bz2
+4a49c939184c25f216b35e800669874a46354f805218a91b1db2bb27aa979310 distroconfig-beaglebone.patch
+fc4b571e840e171f6fb6f4923697cd0768eca3b52aac912b87dfe22f61b0c753 distroconfig-wandboard.patch
+ac7fc4678aa6018ae8730536ab55ed1e1d2bc93f699a25f8bd4504132cb27302 include-sys-types.patch"
+sha512sums="e50a3d7e44bf588a7cf8e28cdf3342bc38bd1bf55231d579c2501b75386cfff0fbc7a34648d893971e0095510c9d582b7180427832cb78470b4e7af2ce0e3646 u-boot-2015.04.tar.bz2
+e840c2928afdab14442fe276a934d5d3ee615fdf32370819a1c988bf2dba99f27ccf479943f664aadaa14fbf48841e4d7d22973bb911db2d77f13aa2b4c40f88 distroconfig-beaglebone.patch
+ce22043cfe65ba3a09f965dbf69985345fa0d56ef093703a595fde2dc3cb1ddcf1012e2fdcd56eed216de2bd8b3ec3a8de08266d70ad373cf33faa79d94ad93f distroconfig-wandboard.patch
+bb237aceacc0470c12778559fb3c7b1b8e9481f5113743ca76937d1d0052f1639c2da1d0b34069f73311aac44f9dcf628241d9322912ea7e8bd2c440a1d121bb include-sys-types.patch"