summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-embedded/msp430-gdb/ChangeLog6
-rw-r--r--dev-embedded/msp430-gdb/Manifest20
-rw-r--r--dev-embedded/msp430-gdb/metadata.xml4
-rw-r--r--dev-embedded/msp430-gdb/msp430-gdb-7.2_p20111205.ebuild13
4 files changed, 27 insertions, 16 deletions
diff --git a/dev-embedded/msp430-gdb/ChangeLog b/dev-embedded/msp430-gdb/ChangeLog
index c3a99eeede1b..f50ab361e261 100644
--- a/dev-embedded/msp430-gdb/ChangeLog
+++ b/dev-embedded/msp430-gdb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-embedded/msp430-gdb
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gdb/ChangeLog,v 1.2 2011/12/10 23:03:04 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gdb/ChangeLog,v 1.3 2011/12/11 08:42:32 radhermit Exp $
+
+ 11 Dec 2011; Tim Harder <radhermit@gentoo.org>
+ msp430-gdb-7.2_p20111205.ebuild, metadata.xml:
+ Use more of the main gdb ebuild's functionality.
10 Dec 2011; Tim Harder <radhermit@gentoo.org>
msp430-gdb-7.2_p20111205.ebuild:
diff --git a/dev-embedded/msp430-gdb/Manifest b/dev-embedded/msp430-gdb/Manifest
index 165a9825e091..26e3d20e6ccd 100644
--- a/dev-embedded/msp430-gdb/Manifest
+++ b/dev-embedded/msp430-gdb/Manifest
@@ -3,17 +3,17 @@ Hash: SHA512
DIST gdb-7.2.tar.bz2 18530613 RMD160 2f2f5eb331593a276f1b7024ac35f7ca1520653d SHA1 cae138dee0c11778c471a1d5e4b09e0ae08f9e9d SHA256 bf444b88ab845243364c3d410be9e3f43a57f96ff594d65a37842ea03c3410f0
DIST msp430-gdb-7.2_p20111205.patch.bz2 76553 RMD160 b27987fd3f16fd8f5dfec6d5a51af69fcf71a1e2 SHA1 126290e63f1dd7d7d5cf867b4cef92e738dd7f8e SHA256 a34488c79da08dc4a4b12bdfb2670497f5cbb1774822df1ed33624b02cd2c8cd
-EBUILD msp430-gdb-7.2_p20111205.ebuild 2771 RMD160 96ad7e5afbe3c89ee6ed88f65bc980dbc871d114 SHA1 7224a17ec1face2ec458d99554261028a18771c3 SHA256 f807a356deba2b5d44f9eb53b44457f0eb12598b5b29ad082ac304095a02ee2f
-MISC ChangeLog 502 RMD160 0e88c92b19d9907c4708663192bb93130964112a SHA1 bafc1b0e8e04864268935fa9414a9cc3298f6218 SHA256 7352c62ac00195df716c20acd1da6c6b05b8334ba02cbb6ccf370f52a656c788
-MISC metadata.xml 259 RMD160 082a83a7fe1b7bc7d5058d54d4d3fe8804bbb5ed SHA1 3ff6b1e5c2e927609b426798611f0d5cf28a3fd2 SHA256 817fb0befe31f4dff07f8ff548ae60b1719bc491ca7338dfb0642f406de3c7d2
+EBUILD msp430-gdb-7.2_p20111205.ebuild 2909 RMD160 39dccd7730f79ab476393a6d4e7acc04846ea496 SHA1 7d95eb625fe24096cacef9687bcd7a5005ea7383 SHA256 676c2b8d09b08474457c896abf3b104b70912ccfed44c870f47e8b83026bd277
+MISC ChangeLog 652 RMD160 1a28cce32a0b23b2fe5768d0f7b19f1674f03604 SHA1 803616e3c271eb43dc5708fcff41a0bb6ce361cc SHA256 6e5620ce1184d2d00a38e749d5d1ba227802ee1b41b4933555da4b200910ab3a
+MISC metadata.xml 473 RMD160 c63cfbe12f795c708609e7b157eee5dd83afb759 SHA1 4d3afe30f9c7a1ebb56516ba9a9a8c2bd1197011 SHA256 1685c618b442e3cefa4625a1a2343439fe898c34d54f0bc06df0a56d0039dfce
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBCgAGBQJO4+UuAAoJEEqz6FtPBkyjsaEH/i4aHWR/x8qyY6sY6omX7NkZ
-oGwS8K2a4Bjqe7AgFfxwhjXWJo6aOkIxCWQ03Pmjljnmmn1pcO6T9grgBLKm/aEF
-+QGoXp9Nzu3OhUx084iqoPsQNyE4pAME61joD/Hx194Rxj2eNFyxXBz6Yd5NlYvf
-GjK7qFXNVHTjjeFJZrAxHMfT6D9td/SXpcAwXgvIqk6m/82YC+fusW7QMGutBkue
-PDfU3VVkbseNN6BygiD2UNA8FRu1odEk6JfhpCzkNNcKz5JYbw74v5ww9rgWQjrA
-arBtVufeADDwh7Guzic55kSnPdYdI7c+wHjY8WLETLUszp61pr29ifcbZk/ewWw=
-=uUOf
+iQEcBAEBCgAGBQJO5Gz9AAoJEEqz6FtPBkyjchcH/1TAuttTUtZ9xOlUBWEXy7VV
+GFUS6vG2DWe6CGbJjXuwUBenU5iMQq1jW9qZBDr3NpS2TLmoa02zNTJHIwheWhXb
+7Wx1RuSONFIy3sDUPRxK3FGPCb/3HmIrunTxemu7x5RgbAz0nwdiGvmxe4jm6XWn
+U0M0/maY2t5irn+/NeTb5W5EPunMmOe/Pc34ebyYC3JJCMOaKb8vTqbGMsqotfcp
+DcK/KzIkq4b7vxuIyCAM2Hy9oVeOTJbOb4fDRpiTGIZs4Kswok8rZVj2VKn+HjGd
+AHU+E170v4DQk/9QfG2J7zgOdeQIbecmsrHYp5oX0qhExyeLnBEiyMIKKCWza2s=
+=ZRrG
-----END PGP SIGNATURE-----
diff --git a/dev-embedded/msp430-gdb/metadata.xml b/dev-embedded/msp430-gdb/metadata.xml
index dd22bfef8ca6..f625e1258378 100644
--- a/dev-embedded/msp430-gdb/metadata.xml
+++ b/dev-embedded/msp430-gdb/metadata.xml
@@ -6,4 +6,8 @@
<email>radhermit@gentoo.org</email>
<name>Tim Harder</name>
</maintainer>
+ <use>
+ <flag name='multitarget'>Support all known targets in one gdb binary</flag>
+ <flag name='python'>Enable support for the new internal scripting language, as well as extended pretty printers</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-embedded/msp430-gdb/msp430-gdb-7.2_p20111205.ebuild b/dev-embedded/msp430-gdb/msp430-gdb-7.2_p20111205.ebuild
index b991f3c52383..19c8f6e12760 100644
--- a/dev-embedded/msp430-gdb/msp430-gdb-7.2_p20111205.ebuild
+++ b/dev-embedded/msp430-gdb/msp430-gdb-7.2_p20111205.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gdb/msp430-gdb-7.2_p20111205.ebuild,v 1.2 2011/12/10 23:03:04 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gdb/msp430-gdb-7.2_p20111205.ebuild,v 1.3 2011/12/11 08:42:32 radhermit Exp $
EAPI="4"
@@ -22,9 +22,11 @@ SRC_URI="http://ftp.gnu.org/gnu/gdb/gdb-${MY_PV}.tar.bz2
http://dev.gentoo.org/~radhermit/distfiles/${P}.patch.bz2"
LICENSE="GPL-2 LGPL-2"
-SLOT="${CTARGET}"
+is_cross \
+ && SLOT="${CTARGET}" \
+ || SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="expat nls python test"
+IUSE="expat multitarget nls python test"
RDEPEND=">=sys-libs/ncurses-5.2-r2
sys-libs/readline
@@ -50,14 +52,15 @@ src_prepare() {
src_configure() {
strip-unsupported-flags
econf \
+ --with-pkgversion="Gentoo MSP430 ${PV}" \
--with-bugurl='http://bugs.gentoo.org/' \
--disable-werror \
--enable-64-bit-bfd \
--with-system-readline \
- --target=msp430 \
- --with-sysroot="${EPREFIX}"/usr/${CTARGET} \
+ $(is_cross && echo --with-sysroot="${EPREFIX}"/usr/${CTARGET}) \
$(use_with expat) \
$(use_enable nls) \
+ $(use multitarget && echo --enable-targets=all) \
$(use_with python python "${EPREFIX}/usr/bin/python2")
}