summaryrefslogtreecommitdiffstats
path: root/meta/packages/gdb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-07-20 15:13:20 +0000
committerRichard Purdie <richard@openedhand.com>2007-07-20 15:13:20 +0000
commit5707e90ca60a99fa6b6fc82af0155e955cc2943a (patch)
tree73a01dbd3adbbb17d3feb36d39440797cf4709bb /meta/packages/gdb
parentb67665420743606c1d06a4ca8a100f14e108bcd5 (diff)
downloadpoky-5707e90ca60a99fa6b6fc82af0155e955cc2943a.tar.gz
gdb: Remove old versions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2200 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gdb')
-rw-r--r--meta/packages/gdb/gdb-cross_6.4.bb35
-rw-r--r--meta/packages/gdb/gdb_6.4.bb49
2 files changed, 0 insertions, 84 deletions
diff --git a/meta/packages/gdb/gdb-cross_6.4.bb b/meta/packages/gdb/gdb-cross_6.4.bb
deleted file mode 100644
index 32076b529e..0000000000
--- a/meta/packages/gdb/gdb-cross_6.4.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1LICENSE = "GPL"
2DESCRIPTION = "gdb - GNU debugger"
3SECTION = "base"
4PRIORITY = "optional"
5DEPENDS = "ncurses-native"
6
7inherit autotools sdk
8
9S = "${WORKDIR}/gdb-${PV}"
10SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
11 file://sim-install.patch;patch=1"
12
13FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gdb-${PV}"
14
15export CC_FOR_BUILD = "${BUILD_CC}"
16export CXX_FOR_BUILD = "${BUILD_CXX}"
17export CPP_FOR_BUILD = "${BUILD_CPP}"
18export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
19export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
20export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
21
22EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
23
24EXTRA_OECONF = "--with-curses --with-readline"
25
26do_configure () {
27# override this function to avoid the autoconf/automake/aclocal/autoheader
28# calls for now
29 gnu-configize
30 oe_runconf
31}
32
33do_stage() {
34 :
35}
diff --git a/meta/packages/gdb/gdb_6.4.bb b/meta/packages/gdb/gdb_6.4.bb
deleted file mode 100644
index 2647c5529e..0000000000
--- a/meta/packages/gdb/gdb_6.4.bb
+++ /dev/null
@@ -1,49 +0,0 @@
1DESCRIPTION = "gdb - GNU debugger"
2HOMEPAGE = "http://www.gnu.org/software/gdb/"
3LICENSE="GPL"
4SECTION = "devel"
5PRIORITY = "optional"
6DEPENDS = "ncurses readline"
7RDEPENDS_openmn = "libthread-db1"
8PR = "r2"
9
10PACKAGES =+ 'gdbserver '
11FILES_gdbserver = '${bindir}/gdbserver'
12
13inherit autotools gettext
14
15SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
16# file://uclibc.patch;patch=1 \
17 file://kill_arm_map_symbols.patch;patch=1 \
18 file://gdbserver-cflags-last.diff;patch=1;pnum=0"
19
20LDFLAGS_append = " -s"
21export CC_FOR_BUILD = "${BUILD_CC}"
22export CXX_FOR_BUILD = "${BUILD_CXX}"
23export CPP_FOR_BUILD = "${BUILD_CPP}"
24export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
25export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
26export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
27export CFLAGS_append=" -L${STAGING_LIBDIR}"
28EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
29
30EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
31 --with-curses --disable-multilib --with-readline --disable-sim \
32 --program-prefix=''"
33
34S = "${WORKDIR}/gdb-${PV}"
35B = "${WORKDIR}/build-${TARGET_SYS}"
36
37do_configure () {
38# override this function to avoid the autoconf/automake/aclocal/autoheader
39# calls for now
40 (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
41 CPPFLAGS="" oe_runconf
42}
43
44do_install () {
45 make -C bfd/doc chew LDFLAGS= CFLAGS=-O2
46 oe_runmake DESTDIR='${D}' install
47 install -d ${D}${bindir}
48 install -m 0755 gdb/gdbserver/gdbserver ${D}${bindir}
49}