summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-01-25 10:33:19 +0000
committerTim Harder <radhermit@gentoo.org>2014-01-25 10:33:19 +0000
commit1bf763a74f783d730dd372ff403a0d9b1822a534 (patch)
treef15a0b7e14409f1af158e3350c90c3e5c80b4ba0 /dev-embedded/u-boot-tools
parentMark m68k/s390/sh stable. (diff)
downloadgentoo-2-1bf763a74f783d730dd372ff403a0d9b1822a534.tar.gz
gentoo-2-1bf763a74f783d730dd372ff403a0d9b1822a534.tar.bz2
gentoo-2-1bf763a74f783d730dd372ff403a0d9b1822a534.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-embedded/u-boot-tools')
-rw-r--r--dev-embedded/u-boot-tools/ChangeLog9
-rw-r--r--dev-embedded/u-boot-tools/u-boot-tools-2014.01.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-embedded/u-boot-tools/ChangeLog b/dev-embedded/u-boot-tools/ChangeLog
index e160b32ff6a9..438df27ebb1e 100644
--- a/dev-embedded/u-boot-tools/ChangeLog
+++ b/dev-embedded/u-boot-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-embedded/u-boot-tools
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/ChangeLog,v 1.32 2013/12/26 08:02:17 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/ChangeLog,v 1.33 2014/01/25 10:33:19 radhermit Exp $
+
+*u-boot-tools-2014.01 (25 Jan 2014)
+
+ 25 Jan 2014; Tim Harder <radhermit@gentoo.org> +u-boot-tools-2014.01.ebuild:
+ Version bump.
26 Dec 2013; Mike Frysinger <vapier@gentoo.org> u-boot-tools-2013.07.ebuild:
Stabilize for all #495366.
diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2014.01.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2014.01.ebuild
new file mode 100644
index 000000000000..3ac5f197f20b
--- /dev/null
+++ b/dev-embedded/u-boot-tools/u-boot-tools-2014.01.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/u-boot-tools-2014.01.ebuild,v 1.1 2014/01/25 10:33:19 radhermit Exp $
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+MY_P="u-boot-${PV/_/-}"
+DESCRIPTION="utilities for working with Das U-Boot"
+HOMEPAGE="http://www.denx.de/wiki/U-Boot/WebHome"
+SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i "s:-g ::" tools/Makefile || die
+ # Make sure we find local u-boot headers first #429302
+ ln -s ../include/image.h tools/ || die
+ epatch "${FILESDIR}"/u-boot-no-config.h.patch
+}
+
+src_compile() {
+ emake \
+ HOSTSTRIP=: \
+ HOSTCC="$(tc-getCC)" \
+ HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
+ HOSTLDFLAGS="${LDFLAGS}" \
+ CONFIG_ENV_OVERWRITE=y \
+ tools-all
+}
+
+src_install() {
+ cd tools
+ dobin bmp_logo gen_eth_addr img2srec mkimage
+ dobin easylogo/easylogo
+ dobin env/fw_printenv
+ dosym fw_printenv /usr/bin/fw_setenv
+ insinto /etc
+ doins env/fw_env.config
+}