diff options
author | Raúl Porcel <armin76@gentoo.org> | 2010-06-05 13:58:54 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2010-06-05 13:58:54 +0000 |
commit | 25bdf28066af0b6f44f871b22dd9def3bb24bfea (patch) | |
tree | 7d51a42ba1db1b97805a5726c844aaf0322e19d0 /dev-embedded | |
parent | Fix building with GCC 4.5+ wrt #321357 by Gef Lebster. (diff) | |
download | gentoo-2-25bdf28066af0b6f44f871b22dd9def3bb24bfea.tar.gz gentoo-2-25bdf28066af0b6f44f871b22dd9def3bb24bfea.tar.bz2 gentoo-2-25bdf28066af0b6f44f871b22dd9def3bb24bfea.zip |
Version bump
(Portage version: 2.1.8.3/cvs/Linux ia64)
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/u-boot-tools/ChangeLog | 10 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/u-boot-tools-2009.11.1.ebuild | 56 |
2 files changed, 64 insertions, 2 deletions
diff --git a/dev-embedded/u-boot-tools/ChangeLog b/dev-embedded/u-boot-tools/ChangeLog index 9dc1c9bbb8f4..8f54e6bd9724 100644 --- a/dev-embedded/u-boot-tools/ChangeLog +++ b/dev-embedded/u-boot-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/u-boot-tools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/ChangeLog,v 1.11 2009/09/04 05:21:33 vapier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/ChangeLog,v 1.12 2010/06/05 13:58:54 armin76 Exp $ + +*u-boot-tools-2009.11.1 (05 Jun 2010) + + 05 Jun 2010; Raúl Porcel <armin76@gentoo.org> + +u-boot-tools-2009.11.1.ebuild: + Version bump *u-boot-tools-2009.08 (04 Sep 2009) diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2009.11.1.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2009.11.1.ebuild new file mode 100644 index 000000000000..48ac69578c2b --- /dev/null +++ b/dev-embedded/u-boot-tools/u-boot-tools-2009.11.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2010 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-2009.11.1.ebuild,v 1.1 2010/06/05 13:58:54 armin76 Exp $ + +inherit flag-o-matic + +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="" + +DEPEND="" + +S=${WORKDIR}/${MY_P} + +domake() { + emake \ + HOSTSTRIP=echo \ + HOSTCC="$(tc-getCC)" CC="$(tc-getCC)" \ + HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}" \ + "$@" +} + +src_unpack() { + unpack ${A} + cd "${S}" + touch include/config.{h,mk} include/autoconf.mk{.dep,} + sed -i \ + -e 's:HOST_CFLAGS:HOSTCFLAGS:g' \ + Makefile *.mk tools/Makefile + sed -i \ + -e '/CFLAGS/s:-O::' \ + tools/Makefile +} + +src_compile() { + domake SUBDIRS=tools BIN_FILES-y="bmp_logo gen_eth_addr img2srec mkimage" tools || die + domake -C tools/easylogo || die + domake env || die +} + +src_install() { + cd tools + dobin bmp_logo gen_eth_addr img2srec mkimage || die + dobin easylogo/easylogo || die + dobin env/fw_printenv || die + dosym fw_printenv /usr/bin/fw_setenv || die + insinto /etc + doins env/fw_env.config || die +} |