summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/msp430-binutils/ChangeLog10
-rw-r--r--dev-embedded/msp430-binutils/Manifest5
-rw-r--r--dev-embedded/msp430-binutils/metadata.xml13
-rw-r--r--dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild24
4 files changed, 52 insertions, 0 deletions
diff --git a/dev-embedded/msp430-binutils/ChangeLog b/dev-embedded/msp430-binutils/ChangeLog
new file mode 100644
index 000000000000..0fb45a29e0ab
--- /dev/null
+++ b/dev-embedded/msp430-binutils/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-embedded/msp430-binutils
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog,v 1.1 2011/12/10 22:40:13 radhermit Exp $
+
+*msp430-binutils-2.21.1_p20111205 (10 Dec 2011)
+
+ 10 Dec 2011; Tim Harder <radhermit@gentoo.org>
+ +msp430-binutils-2.21.1_p20111205.ebuild, +metadata.xml:
+ Initial import. Ebuild by me.
+
diff --git a/dev-embedded/msp430-binutils/Manifest b/dev-embedded/msp430-binutils/Manifest
new file mode 100644
index 000000000000..0fadfad996c3
--- /dev/null
+++ b/dev-embedded/msp430-binutils/Manifest
@@ -0,0 +1,5 @@
+DIST binutils-2.21.1.tar.bz2 18997755 RMD160 de5ce1d7cb0d44e3ec18c557beefb2a292d59a60 SHA1 525255ca6874b872540c9967a1d26acfbc7c8230 SHA256 cdecfa69f02aa7b05fbcdf678e33137151f361313b2f3e48aba925f64eabf654
+DIST msp430-binutils-2.21.1_p20111205.patch.bz2 40454 RMD160 8d1e6d1a0f3776a49e4b21ef5113cf98f43b8d75 SHA1 c67439c03fb28318aafc26358cd7ecd888890d89 SHA256 17871f5bb2d1bb5a3efa9e42dc745925e34e68fcabbbf1baef0721432bcb40b6
+EBUILD msp430-binutils-2.21.1_p20111205.ebuild 564 RMD160 62ae7e9f53ae545573cc36ecd6ffb57f33dfb8b9 SHA1 d2e3e3a9617a4c234a4cfe30c25e546953b8a5b5 SHA256 3bcb2694a130760c8218f0d907817ad5c40d2845fe7b9f25705656db0e7244ca
+MISC ChangeLog 319 RMD160 fac240478efc8a4ec08f8194d0e40a525f34fb80 SHA1 d47b7b510f75247483d58d58d37077d39d83d68c SHA256 efc79cdafa675ce99c0ae4e3c4a433c7e415ce37be7066fc7970aeeb972ef438
+MISC metadata.xml 489 RMD160 5f394c7c5558ee944dd565ac7edda32f3c7b19e8 SHA1 4aac252b6c7fb5e6c6363894f694bb121be90fc9 SHA256 45c8067c981751a8b029bc91b47f2aacce8ae5c5976946d4dc034a42d9aa9b14
diff --git a/dev-embedded/msp430-binutils/metadata.xml b/dev-embedded/msp430-binutils/metadata.xml
new file mode 100644
index 000000000000..fac730acfe8a
--- /dev/null
+++ b/dev-embedded/msp430-binutils/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>dev-embedded</herd>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <use>
+ <flag name="multislot">Allow for multiple versions of binutils to be emerged at once for same CTARGET</flag>
+ <flag name="multitarget">Adds support to binutils for cross compiling (does not work with gas)</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild b/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild
new file mode 100644
index 000000000000..627503089738
--- /dev/null
+++ b/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20111205.ebuild,v 1.1 2011/12/10 22:40:13 radhermit Exp $
+
+EAPI="4"
+
+inherit toolchain-binutils
+
+MY_PV="${PV%_p*}"
+DESCRIPTION="Tools necessary to build programs for MSP430 microcontrollers"
+SRC_URI="mirror://gnu/binutils/binutils-${MY_PV}.tar.bz2
+ http://dev.gentoo.org/~radhermit/distfiles/${P}.patch.bz2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/binutils-${MY_PV}"
+
+pkg_pretend() {
+ is_cross || die "Only cross-compile builds are supported"
+}
+
+src_prepare() {
+ epatch "${WORKDIR}"/${P}.patch
+}