aboutsummaryrefslogtreecommitdiffstats
path: root/testing/uboot-tools
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-06-29 13:04:10 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-06-29 13:04:10 +0200
commit9aaf9632efda3dc49e8b2615282d720b272de7e8 (patch)
treebf5c24b443346eb53119b743dd0b67778afcf7c9 /testing/uboot-tools
parent6c0d0fd978af5bd466727cb07acbc69d0c900f33 (diff)
downloadaports-9aaf9632efda3dc49e8b2615282d720b272de7e8.tar.bz2
aports-9aaf9632efda3dc49e8b2615282d720b272de7e8.tar.xz
testing/uboot-tools: new aport
Diffstat (limited to 'testing/uboot-tools')
-rw-r--r--testing/uboot-tools/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/uboot-tools/APKBUILD b/testing/uboot-tools/APKBUILD
new file mode 100644
index 0000000000..8c27e61561
--- /dev/null
+++ b/testing/uboot-tools/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=uboot-tools
+pkgver=2016.05
+pkgrel=0
+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 openssl-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; do
+ install -D tools/$tool \
+ $pkgdir/usr/bin/$(basename $tool) || return 1
+ done
+}
+
+md5sums="3a8613d753dfa707c937991a35404510 u-boot-2016.05.tar.bz2"
+sha256sums="87d02275615aaf0cd007b54cbe9fbadceef2bee7c79e6c323ea1ae8956dcb171 u-boot-2016.05.tar.bz2"
+sha512sums="61739390134f395c8b15a92819c534464c97f73b4ef8dafd35c0a58e0d163f149c9f8daa45cc99bde73a4606900486422279fdeb8043e20e616d597cc7b017a8 u-boot-2016.05.tar.bz2"