diff options
-rw-r--r-- | main/u-boot/APKBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/main/u-boot/APKBUILD b/main/u-boot/APKBUILD index 36c26d5fe2..9cd3ad3146 100644 --- a/main/u-boot/APKBUILD +++ b/main/u-boot/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=u-boot pkgver=2015.01 -pkgrel=0 +pkgrel=1 pkgdesc="Bootloader for ARM" url="http://www.denx.de/wiki/U-Boot/" arch="armhf" @@ -77,12 +77,12 @@ _split_boards() { msg "Including board $board" mkdir -p "$subpkgdir"/usr/share/$pkgname/$board export BUILD_DIR="$_builddir"/$board - if [ -e "$BUILD_DIR"/MLO ]; then - cp "$BUILD_DIR"/MLO \ - "$subpkgdir"/usr/share/$pkgname/$board || return 1 - fi - cp "$BUILD_DIR"/u-boot.* \ - "$subpkgdir"/usr/share/$pkgname/$board || return 1 + for image in MLO u-boot.imx u-boot.img; do + if [ -e "$BUILD_DIR"/$image ]; then + cp "$BUILD_DIR"/$image "$subpkgdir"/usr/share/$pkgname/$board \ + || return 1 + fi + done done } |