summaryrefslogtreecommitdiffstats
path: root/meta/packages/gdb/gdb_6.6.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-07-22 18:04:10 +0000
committerRichard Purdie <richard@openedhand.com>2007-07-22 18:04:10 +0000
commit27137aac6f9854462602f0c8a4afe385fe5eb93c (patch)
treea8bb6ea3c023f55a8d538eaf5be3c55c62824351 /meta/packages/gdb/gdb_6.6.bb
parent59092344b9c7f8fa86facdb1c3672c0a3b50f487 (diff)
downloadpoky-27137aac6f9854462602f0c8a4afe385fe5eb93c.tar.gz
gdb: Add gdb-cross-sdk, factor out code into .inc files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2202 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gdb/gdb_6.6.bb')
-rw-r--r--meta/packages/gdb/gdb_6.6.bb22
1 files changed, 5 insertions, 17 deletions
diff --git a/meta/packages/gdb/gdb_6.6.bb b/meta/packages/gdb/gdb_6.6.bb
index 1bfe3dfecf..356df8f339 100644
--- a/meta/packages/gdb/gdb_6.6.bb
+++ b/meta/packages/gdb/gdb_6.6.bb
@@ -1,8 +1,5 @@
1DESCRIPTION = "gdb - GNU debugger" 1require gdb.inc
2HOMEPAGE = "http://www.gnu.org/software/gdb/" 2
3LICENSE="GPL"
4SECTION = "devel"
5PRIORITY = "optional"
6DEPENDS = "ncurses readline" 3DEPENDS = "ncurses readline"
7PR = "r0" 4PR = "r0"
8 5
@@ -11,30 +8,21 @@ FILES_gdbserver = '${bindir}/gdbserver'
11 8
12RRECOMMENDS_gdb = "glibc-thread-db" 9RRECOMMENDS_gdb = "glibc-thread-db"
13 10
14inherit autotools gettext 11inherit gettext
15 12
16SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ 13SRC_URI += file://kill_arm_map_symbols.patch;patch=1 \
17#FIXME file://uclibc.patch;patch=1 \ 14#FIXME file://uclibc.patch;patch=1 \
18 file://kill_arm_map_symbols.patch;patch=1 \
19 file://gdbserver-cflags-last.diff;patch=1;pnum=0" 15 file://gdbserver-cflags-last.diff;patch=1;pnum=0"
20 16
21LDFLAGS_append = " -s" 17LDFLAGS_append = " -s"
22export CC_FOR_BUILD = "${BUILD_CC}"
23export CXX_FOR_BUILD = "${BUILD_CXX}"
24export CPP_FOR_BUILD = "${BUILD_CPP}"
25export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
26export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
27export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
28export CFLAGS_append=" -L${STAGING_LIBDIR}" 18export CFLAGS_append=" -L${STAGING_LIBDIR}"
19
29EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" 20EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
30 21
31EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ 22EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
32 --with-curses --disable-multilib --with-readline --disable-sim \ 23 --with-curses --disable-multilib --with-readline --disable-sim \
33 --program-prefix=''" 24 --program-prefix=''"
34 25
35S = "${WORKDIR}/gdb-${PV}"
36B = "${WORKDIR}/build-${TARGET_SYS}"
37
38do_configure () { 26do_configure () {
39# override this function to avoid the autoconf/automake/aclocal/autoheader 27# override this function to avoid the autoconf/automake/aclocal/autoheader
40# calls for now 28# calls for now