summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-08-30 18:24:51 +0000
committerTim Harder <radhermit@gentoo.org>2012-08-30 18:24:51 +0000
commitcaf742254747c6da644f88435f22b2d852187138 (patch)
tree2441df6a1c53f018f0891b5a7c6fb5e8222778bc /dev-embedded
parent[bump] dev-perl/Class-XSAccessor-1.140.0 (diff)
downloadhistorical-caf742254747c6da644f88435f22b2d852187138.tar.gz
historical-caf742254747c6da644f88435f22b2d852187138.tar.bz2
historical-caf742254747c6da644f88435f22b2d852187138.zip
Version bump.
Package-Manager: portage-2.2.0_alpha123/cvs/Linux x86_64
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/msp430-binutils/ChangeLog8
-rw-r--r--dev-embedded/msp430-binutils/msp430-binutils-2.22_p20120716.ebuild25
-rw-r--r--dev-embedded/msp430-gcc/ChangeLog8
-rw-r--r--dev-embedded/msp430-gcc/msp430-gcc-4.7.0_p20120716.ebuild28
-rw-r--r--dev-embedded/msp430-libc/ChangeLog7
-rw-r--r--dev-embedded/msp430-libc/msp430-libc-20120716.ebuild43
-rw-r--r--dev-embedded/msp430mcu/ChangeLog7
-rw-r--r--dev-embedded/msp430mcu/msp430mcu-20120716.ebuild23
8 files changed, 145 insertions, 4 deletions
diff --git a/dev-embedded/msp430-binutils/ChangeLog b/dev-embedded/msp430-binutils/ChangeLog
index 6240a3946949..c96e009c5b57 100644
--- a/dev-embedded/msp430-binutils/ChangeLog
+++ b/dev-embedded/msp430-binutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-embedded/msp430-binutils
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog,v 1.10 2012/05/17 03:03:30 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/ChangeLog,v 1.11 2012/08/30 18:23:41 radhermit Exp $
+
+*msp430-binutils-2.22_p20120716 (30 Aug 2012)
+
+ 30 Aug 2012; Tim Harder <radhermit@gentoo.org>
+ +msp430-binutils-2.22_p20120716.ebuild:
+ Version bump.
*msp430-binutils-2.22_p20120514 (17 May 2012)
diff --git a/dev-embedded/msp430-binutils/msp430-binutils-2.22_p20120716.ebuild b/dev-embedded/msp430-binutils/msp430-binutils-2.22_p20120716.ebuild
new file mode 100644
index 000000000000..e0ec4aadc2cf
--- /dev/null
+++ b/dev-embedded/msp430-binutils/msp430-binutils-2.22_p20120716.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 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.22_p20120716.ebuild,v 1.1 2012/08/30 18:23:41 radhermit Exp $
+
+PATCHVER="1.4"
+
+BINUTILS_VER=${PV%_p*}
+
+inherit toolchain-binutils
+
+DESCRIPTION="Tools necessary to build programs for MSP430 microcontrollers"
+SRC_URI+=" http://dev.gentoo.org/~radhermit/dist/${P}.patch.bz2"
+
+KEYWORDS="~amd64 ~x86"
+
+# needed to fix bug #381633
+RDEPEND=">=sys-devel/binutils-config-3-r2"
+
+pkg_setup() {
+ is_cross || die "Only cross-compile builds are supported"
+}
+
+PATCHES=(
+ "${WORKDIR}"/${P}.patch
+)
diff --git a/dev-embedded/msp430-gcc/ChangeLog b/dev-embedded/msp430-gcc/ChangeLog
index 9424dd349f14..c0eaa589f568 100644
--- a/dev-embedded/msp430-gcc/ChangeLog
+++ b/dev-embedded/msp430-gcc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-embedded/msp430-gcc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gcc/ChangeLog,v 1.11 2012/05/28 08:19:37 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gcc/ChangeLog,v 1.12 2012/08/30 18:24:51 radhermit Exp $
+
+*msp430-gcc-4.7.0_p20120716 (30 Aug 2012)
+
+ 30 Aug 2012; Tim Harder <radhermit@gentoo.org>
+ +msp430-gcc-4.7.0_p20120716.ebuild:
+ Version bump.
28 May 2012; Tim Harder <radhermit@gentoo.org>
msp430-gcc-4.7.0_p20120514.ebuild:
diff --git a/dev-embedded/msp430-gcc/msp430-gcc-4.7.0_p20120716.ebuild b/dev-embedded/msp430-gcc/msp430-gcc-4.7.0_p20120716.ebuild
new file mode 100644
index 000000000000..c3d7524733ae
--- /dev/null
+++ b/dev-embedded/msp430-gcc/msp430-gcc-4.7.0_p20120716.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 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.7.0_p20120716.ebuild,v 1.1 2012/08/30 18:24:51 radhermit Exp $
+
+EAPI="4"
+
+PATCH_VER="1.1"
+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=""
+SRC_URI="${SRC_URI} http://dev.gentoo.org/~radhermit/dist/${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
+}
diff --git a/dev-embedded/msp430-libc/ChangeLog b/dev-embedded/msp430-libc/ChangeLog
index f42933f4baa7..8b893da799fd 100644
--- a/dev-embedded/msp430-libc/ChangeLog
+++ b/dev-embedded/msp430-libc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-embedded/msp430-libc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/ChangeLog,v 1.9 2012/05/17 03:07:36 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/ChangeLog,v 1.10 2012/08/30 18:21:30 radhermit Exp $
+
+*msp430-libc-20120716 (30 Aug 2012)
+
+ 30 Aug 2012; Tim Harder <radhermit@gentoo.org> +msp430-libc-20120716.ebuild:
+ Version bump.
*msp430-libc-20120514 (17 May 2012)
diff --git a/dev-embedded/msp430-libc/msp430-libc-20120716.ebuild b/dev-embedded/msp430-libc/msp430-libc-20120716.ebuild
new file mode 100644
index 000000000000..7569b01b2017
--- /dev/null
+++ b/dev-embedded/msp430-libc/msp430-libc-20120716.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/msp430-libc-20120716.ebuild,v 1.1 2012/08/30 18:21:30 radhermit Exp $
+
+EAPI="4"
+
+CHOST="msp430"
+CTARGET="msp430"
+
+DESCRIPTION="C library for MSP430 microcontrollers"
+HOMEPAGE="http://mspgcc.sourceforge.net"
+SRC_URI="mirror://sourceforge/mspgcc/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crosscompile_opts_headers-only"
+
+DEPEND="sys-devel/crossdev"
+[[ ${CATEGORY/cross-} != ${CATEGORY} ]] \
+ && RDEPEND="!dev-embedded/msp430-libc" \
+ || RDEPEND=""
+
+S=${WORKDIR}/${P}/src
+
+pkg_setup() {
+ ebegin "Checking for msp430-gcc"
+ if type -p msp430-gcc > /dev/null ; then
+ eend 0
+ else
+ eend 1
+
+ eerror
+ eerror "Failed to locate 'msp430-gcc' in \$PATH. You can install a MSP430 toolchain using:"
+ eerror " $ crossdev -t msp430"
+ eerror
+ die "MSP430 toolchain not found"
+ fi
+}
+
+src_install() {
+ emake PREFIX="${D}"/usr install
+}
diff --git a/dev-embedded/msp430mcu/ChangeLog b/dev-embedded/msp430mcu/ChangeLog
index 6f47faf31a41..e1d3edae66fa 100644
--- a/dev-embedded/msp430mcu/ChangeLog
+++ b/dev-embedded/msp430mcu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-embedded/msp430mcu
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430mcu/ChangeLog,v 1.11 2012/05/17 03:09:28 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430mcu/ChangeLog,v 1.12 2012/08/30 18:22:51 radhermit Exp $
+
+*msp430mcu-20120716 (30 Aug 2012)
+
+ 30 Aug 2012; Tim Harder <radhermit@gentoo.org> +msp430mcu-20120716.ebuild:
+ Version bump.
*msp430mcu-20120514 (17 May 2012)
diff --git a/dev-embedded/msp430mcu/msp430mcu-20120716.ebuild b/dev-embedded/msp430mcu/msp430mcu-20120716.ebuild
new file mode 100644
index 000000000000..833d4ca473d8
--- /dev/null
+++ b/dev-embedded/msp430mcu/msp430mcu-20120716.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430mcu/msp430mcu-20120716.ebuild,v 1.1 2012/08/30 18:22:51 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="MCU-specific data for MSP430 microcontrollers"
+HOMEPAGE="http://mspgcc.sourceforge.net"
+SRC_URI="mirror://sourceforge/mspgcc/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_install() {
+ MSP430MCU_ROOT="${S}" ./scripts/install.sh "${D}/usr"
+
+ # remove unnecessary script
+ rm "${D}"/usr/bin/${PN}-config || die
+}