Commit e7551a4d authored by Oliver Smith's avatar Oliver Smith

Temporarily package uboot-tools as workaround

This package is currently broken in Alpine's binary packages for
the testing repository, and their build bot is stuck with another
package. In turn, this makes our package building for the repo get
stuck, as we can't build device-nokia-n900 (and it stops there).

See also: #1408
parent 9a808849
# Temporarily copied from Alpine until their build-edge-armhf is unblocked and builds this again
pkgname=uboot-tools
pkgver=2016.05
pkgrel=5
pkgdesc="U-Boot bootloader utility tools"
url="http://www.denx.de/wiki/U-Boot/WebHome"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev libressl-dev linux-headers sdl-dev"
install=""
subpackages=""
source="ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2"
builddir="$srcdir/u-boot-$pkgver"
build() {
cd "$builddir"
make defconfig || return 1
make tools-all || return 1
}
package() {
cd "$builddir"
for tool in bmp_logo dumpimage easylogo/easylogo env/fw_printenv \
fit_check_sign fit_info gdb/gdbcont gdb/gdbsend gen_eth_addr img2srec \
mkenvimage mkimage ncb proftool ubsha1 xway-swap-bytes env/fw_printenv; do
install -D tools/$tool \
$pkgdir/usr/bin/$(basename $tool) || return 1
done
install -Dm644 tools/env/fw_env.config \
$pkgdir/etc/fw_env.config || return 1
cd "$pkgdir"/usr/bin
ln -sf fw_printenv fw_setenv || return 1
}
md5sums="3a8613d753dfa707c937991a35404510 u-boot-2016.05.tar.bz2"
sha256sums="87d02275615aaf0cd007b54cbe9fbadceef2bee7c79e6c323ea1ae8956dcb171 u-boot-2016.05.tar.bz2"
sha512sums="61739390134f395c8b15a92819c534464c97f73b4ef8dafd35c0a58e0d163f149c9f8daa45cc99bde73a4606900486422279fdeb8043e20e616d597cc7b017a8 u-boot-2016.05.tar.bz2"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment