summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-12-10 22:57:41 +0000
committerTim Harder <radhermit@gentoo.org>2011-12-10 22:57:41 +0000
commit24993b148567e6dc19bb408f191ae055027ef6ab (patch)
tree829bc8858d9fd37236e96763ff765bdf1b64775f /dev-embedded
parentDrop empty IUSE since it's defined by the toolchain-binutils eclass. (diff)
downloadgentoo-2-24993b148567e6dc19bb408f191ae055027ef6ab.tar.gz
gentoo-2-24993b148567e6dc19bb408f191ae055027ef6ab.tar.bz2
gentoo-2-24993b148567e6dc19bb408f191ae055027ef6ab.zip
Initial import. Ebuild by me.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/msp430-gcc/ChangeLog11
-rw-r--r--dev-embedded/msp430-gcc/Manifest8
-rw-r--r--dev-embedded/msp430-gcc/files/gcc-configure-texinfo.patch16
-rw-r--r--dev-embedded/msp430-gcc/metadata.xml24
-rw-r--r--dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20111205.ebuild28
5 files changed, 87 insertions, 0 deletions
diff --git a/dev-embedded/msp430-gcc/ChangeLog b/dev-embedded/msp430-gcc/ChangeLog
new file mode 100644
index 000000000000..af95c419cf86
--- /dev/null
+++ b/dev-embedded/msp430-gcc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-embedded/msp430-gcc
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gcc/ChangeLog,v 1.1 2011/12/10 22:57:41 radhermit Exp $
+
+*msp430-gcc-4.6.1_p20111205 (10 Dec 2011)
+
+ 10 Dec 2011; Tim Harder <radhermit@gentoo.org>
+ +msp430-gcc-4.6.1_p20111205.ebuild, +files/gcc-configure-texinfo.patch,
+ +metadata.xml:
+ Initial import. Ebuild by me.
+
diff --git a/dev-embedded/msp430-gcc/Manifest b/dev-embedded/msp430-gcc/Manifest
new file mode 100644
index 000000000000..8cc2552bffce
--- /dev/null
+++ b/dev-embedded/msp430-gcc/Manifest
@@ -0,0 +1,8 @@
+AUX gcc-configure-texinfo.patch 337 RMD160 d0e872a9f0ccb5ab51d10f129acd7a19d76a7b75 SHA1 7e267fac540175ce848e563539db8c951cab557b SHA256 74b73a7ecec2d88889876b4db480cd173632f49d5396bb8e5b3c93673f9b5b98
+DIST ecj-4.5.jar 1470676 RMD160 d3f4da657f086b6423f74e93f001132f4855368a SHA1 58c1d79c64c8cd718550f32a932ccfde8d1e6449 SHA256 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781
+DIST gcc-4.6.1-patches-1.0.tar.bz2 12161 RMD160 c25f8e8434c62d051802080a5e47ef1b45b49cf7 SHA1 d1759e8dacde0eb29bf7324b19e40097d6e01580 SHA256 5174176d6335b54365f1bcf895fed19c35f1634437e4d1757a436a42703b72c3
+DIST gcc-4.6.1.tar.bz2 71688404 RMD160 e12a50dc951b02c62916acfbb181c00cae176fd0 SHA1 8bf66f7a71534ba564563a0ba0b2517aead8ac30 SHA256 8eebf51c908151d1f1a3756c8899c5e71572e8469a547ad72a1ef16a08a31b59
+DIST msp430-gcc-4.6.1_p20111205.patch.bz2 77776 RMD160 122c4d2b469cd7a8e6ef5ffd835416a6b2393f2d SHA1 ee8e77ea19ae602ce529802fde07d067094c0369 SHA256 d09b2c1edb8dd65259b6fa91ff62fad206ce8aa8151d23c941abfd9ee6af7285
+EBUILD msp430-gcc-4.6.1_p20111205.ebuild 691 RMD160 e719ad8fd617c7c025d95e901efcc8c0c9a5957d SHA1 656d81c8e5e68bdb9875eb80856f426d9da5a0cb SHA256 72c844bf00228e804b5f88d66b3a58736af87915cfe4e86f597bfd2fb3ea8ea0
+MISC ChangeLog 340 RMD160 645c6ba216d03429b7c3c488f64b5dd13dc5facc SHA1 ded27a2456eb74a0abe2dd4994c09097ad63cc3a SHA256 f1f7ba3be5b4124a12b499724dcfc1b76cbc92be5fc46d301e989dea0d0c7199
+MISC metadata.xml 1224 RMD160 ec16dd9cea8888b8d552bb4915c5378871dc8d5c SHA1 1d88926272c8be4c0a7e1f590bdb3499646b0376 SHA256 04ba466bda028ebdeec8589c5bac0d75b1417465cb8e8563e93f54618691751d
diff --git a/dev-embedded/msp430-gcc/files/gcc-configure-texinfo.patch b/dev-embedded/msp430-gcc/files/gcc-configure-texinfo.patch
new file mode 100644
index 000000000000..ddc098ddbd58
--- /dev/null
+++ b/dev-embedded/msp430-gcc/files/gcc-configure-texinfo.patch
@@ -0,0 +1,16 @@
+Chances are quite good that the installed makeinfo is sufficient.
+So ignore false positives where the makeinfo installed is so new
+that it violates the cheesy version grep.
+
+http://bugs.gentoo.org/198182
+
+--- configure
++++ configure
+@@ -3573,6 +3573,6 @@
+ :
+ else
+- MAKEINFO="$MISSING makeinfo"
++ :
+ fi
+ ;;
+
diff --git a/dev-embedded/msp430-gcc/metadata.xml b/dev-embedded/msp430-gcc/metadata.xml
new file mode 100644
index 000000000000..5839f242c853
--- /dev/null
+++ b/dev-embedded/msp430-gcc/metadata.xml
@@ -0,0 +1,24 @@
+<?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="fixed-point">Enable fixed-point arithmetic support for MIPS targets
+ in gcc (Warning: significantly increases compile time!)</flag>
+ <flag name="go">Build the GCC Go language frontend.</flag>
+ <flag name="graphite">Add support for the framework for loop
+ optimizations based on a polyhedral intermediate representation</flag>
+ <flag name="libssp">Build SSP support into a dedicated library rather than use the
+ code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES)</flag>
+ <flag name="mudflap">Add support for mudflap, a pointer use checking library</flag>
+ <flag name="multislot">Allow for SLOTs to include minor version (3.3.4
+ instead of just 3.3)</flag>
+ <flag name="objc">Build support for the Objective C code language</flag>
+ <flag name="objc++">Build support for the Objective C++ language</flag>
+ <flag name="objc-gc">Build support for the Objective C code language Garbage Collector</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20111205.ebuild b/dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20111205.ebuild
new file mode 100644
index 000000000000..a93970a786c3
--- /dev/null
+++ b/dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20111205.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20111205.ebuild,v 1.1 2011/12/10 22:57:41 radhermit Exp $
+
+EAPI="4"
+
+PATCH_VER="1.0"
+BRANCH_UPDATE=""
+
+inherit toolchain
+
+DESCRIPTION="The GNU Compiler Collection for MSP430 microcontrollers"
+LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="${SRC_URI} http://dev.gentoo.org/~radhermit/distfiles/${P}.patch.bz2"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.8 )
+ ${CATEGORY}/msp430-binutils"
+
+pkg_pretend() {
+ is_crosscompile || die "Only cross-compile builds are supported"
+}
+
+src_prepare() {
+ epatch "${DISTDIR}"/${P}.patch.bz2
+}