diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2012-04-03 00:23:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-03 14:13:28 +0100 |
commit | 2c20a915c80c0fc6a06791f16650d3b184b9d618 (patch) | |
tree | 4350b6e4712f126f6cec8e4e87869259a9820cc8 /meta/recipes-devtools | |
parent | 4fbc283c00494803d93c02a6828f27e2c713d26d (diff) | |
download | poky-2c20a915c80c0fc6a06791f16650d3b184b9d618.tar.gz |
gdb: build with expat, add missing RRECOMMENDS_gdbserver
* Fixes communication between gdbserver and gdb-cross
by using the same expat settings for both recipes.
* Adds missing build dependencies for expat/expat-native.
* Adds missing glibc-thread-db runtime recommendation
to gdbserver, which was set only for gdb.
(From OE-Core rev: 38ee88e3b32b7444d7f1eb64f1b4f69a48fe0458)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-common.inc | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross_7.4.bb | 1 |
4 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc index 0833a030d4..a8fca6f681 100644 --- a/meta/recipes-devtools/gdb/gdb-common.inc +++ b/meta/recipes-devtools/gdb/gdb-common.inc | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "gdb - GNU debugger" | |||
2 | HOMEPAGE = "http://www.gnu.org/software/gdb/" | 2 | HOMEPAGE = "http://www.gnu.org/software/gdb/" |
3 | LICENSE="GPLv3+" | 3 | LICENSE="GPLv3+" |
4 | SECTION = "devel" | 4 | SECTION = "devel" |
5 | DEPENDS = "ncurses readline ${LTTNGUST}" | 5 | DEPENDS = "expat ncurses readline ${LTTNGUST}" |
6 | 6 | ||
7 | LTTNGUST = "lttng-ust" | 7 | LTTNGUST = "lttng-ust" |
8 | LTTNGUST_libc-uclibc = "" | 8 | LTTNGUST_libc-uclibc = "" |
@@ -11,7 +11,7 @@ LTTNGUST_mipsel = "" | |||
11 | LTTNGUST_mips64 = "" | 11 | LTTNGUST_mips64 = "" |
12 | LTTNGUST_mips64el = "" | 12 | LTTNGUST_mips64el = "" |
13 | 13 | ||
14 | INC_PR = "r6" | 14 | INC_PR = "r7" |
15 | 15 | ||
16 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
17 | file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ | 17 | file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ |
@@ -36,7 +36,7 @@ B = "${WORKDIR}/build-${TARGET_SYS}" | |||
36 | 36 | ||
37 | EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" | 37 | EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" |
38 | 38 | ||
39 | EXPAT = "--without-expat" | 39 | EXPAT = "--with-expat" |
40 | 40 | ||
41 | EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ | 41 | EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ |
42 | --with-curses --disable-multilib --with-system-readline --disable-sim \ | 42 | --with-curses --disable-multilib --with-system-readline --disable-sim \ |
@@ -63,4 +63,6 @@ do_install_append() { | |||
63 | 63 | ||
64 | RRECOMMENDS_gdb_append_linux = " glibc-thread-db " | 64 | RRECOMMENDS_gdb_append_linux = " glibc-thread-db " |
65 | RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " | 65 | RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " |
66 | RRECOMMENDS_gdbserver_append_linux = " glibc-thread-db " | ||
67 | RRECOMMENDS_gdbserver_append_linux-gnueabi = " glibc-thread-db " | ||
66 | 68 | ||
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb index 8e68c75782..b2f39ce9d3 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | |||
@@ -4,6 +4,5 @@ require gdb-cross-canadian.inc | |||
4 | PR = "${INC_PR}.5" | 4 | PR = "${INC_PR}.5" |
5 | 5 | ||
6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | 6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" |
7 | EXPAT = "--with-expat" | ||
8 | 7 | ||
9 | S = "${WORKDIR}/${BPN}-${PV}" | 8 | S = "${WORKDIR}/${BPN}-${PV}" |
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc index 20db86b563..588a208d94 100644 --- a/meta/recipes-devtools/gdb/gdb-cross.inc +++ b/meta/recipes-devtools/gdb/gdb-cross.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | require gdb-common.inc | 1 | require gdb-common.inc |
2 | 2 | ||
3 | DEPENDS = "ncurses-native" | 3 | DEPENDS = "expat-native ncurses-native" |
4 | 4 | ||
5 | #EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'" | 5 | #EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'" |
6 | 6 | ||
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.4.bb b/meta/recipes-devtools/gdb/gdb-cross_7.4.bb index eaf8f36b06..a14d0ba952 100644 --- a/meta/recipes-devtools/gdb/gdb-cross_7.4.bb +++ b/meta/recipes-devtools/gdb/gdb-cross_7.4.bb | |||
@@ -1,7 +1,6 @@ | |||
1 | require gdb-cross.inc | 1 | require gdb-cross.inc |
2 | 2 | ||
3 | SRC_URI += "file://sim-install-6.6.patch" | 3 | SRC_URI += "file://sim-install-6.6.patch" |
4 | EXPAT = "--with-expat" | ||
5 | 4 | ||
6 | PR = "${INC_PR}.0" | 5 | PR = "${INC_PR}.0" |
7 | 6 | ||