diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-22 18:04:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-22 18:04:10 +0000 |
commit | 27137aac6f9854462602f0c8a4afe385fe5eb93c (patch) | |
tree | a8bb6ea3c023f55a8d538eaf5be3c55c62824351 /meta/packages/gdb/gdb_6.6.bb | |
parent | 59092344b9c7f8fa86facdb1c3672c0a3b50f487 (diff) | |
download | poky-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.bb | 22 |
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 @@ | |||
1 | DESCRIPTION = "gdb - GNU debugger" | 1 | require gdb.inc |
2 | HOMEPAGE = "http://www.gnu.org/software/gdb/" | 2 | |
3 | LICENSE="GPL" | ||
4 | SECTION = "devel" | ||
5 | PRIORITY = "optional" | ||
6 | DEPENDS = "ncurses readline" | 3 | DEPENDS = "ncurses readline" |
7 | PR = "r0" | 4 | PR = "r0" |
8 | 5 | ||
@@ -11,30 +8,21 @@ FILES_gdbserver = '${bindir}/gdbserver' | |||
11 | 8 | ||
12 | RRECOMMENDS_gdb = "glibc-thread-db" | 9 | RRECOMMENDS_gdb = "glibc-thread-db" |
13 | 10 | ||
14 | inherit autotools gettext | 11 | inherit gettext |
15 | 12 | ||
16 | SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ | 13 | SRC_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 | ||
21 | LDFLAGS_append = " -s" | 17 | LDFLAGS_append = " -s" |
22 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
23 | export CXX_FOR_BUILD = "${BUILD_CXX}" | ||
24 | export CPP_FOR_BUILD = "${BUILD_CPP}" | ||
25 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | ||
26 | export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}" | ||
27 | export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}" | ||
28 | export CFLAGS_append=" -L${STAGING_LIBDIR}" | 18 | export CFLAGS_append=" -L${STAGING_LIBDIR}" |
19 | |||
29 | EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" | 20 | EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" |
30 | 21 | ||
31 | EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ | 22 | EXTRA_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 | ||
35 | S = "${WORKDIR}/gdb-${PV}" | ||
36 | B = "${WORKDIR}/build-${TARGET_SYS}" | ||
37 | |||
38 | do_configure () { | 26 | do_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 |