summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb-common.inc
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-04-03 00:23:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-03 14:10:44 +0100
commit38ee88e3b32b7444d7f1eb64f1b4f69a48fe0458 (patch)
tree520fe58e359ce55a3c2b48213ac859814a30bda1 /meta/recipes-devtools/gdb/gdb-common.inc
parente165203a6a7eb1fd47a20c3ede4d5a20ad49487f (diff)
downloadopenembedded-core-38ee88e3b32b7444d7f1eb64f1b4f69a48fe0458.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. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-common.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc8
1 files changed, 5 insertions, 3 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"
HOMEPAGE = "http://www.gnu.org/software/gdb/"
LICENSE="GPLv3+"
SECTION = "devel"
-DEPENDS = "ncurses readline ${LTTNGUST}"
+DEPENDS = "expat ncurses readline ${LTTNGUST}"
LTTNGUST = "lttng-ust"
LTTNGUST_libc-uclibc = ""
@@ -11,7 +11,7 @@ LTTNGUST_mipsel = ""
LTTNGUST_mips64 = ""
LTTNGUST_mips64el = ""
-INC_PR = "r6"
+INC_PR = "r7"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
@@ -36,7 +36,7 @@ B = "${WORKDIR}/build-${TARGET_SYS}"
EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
-EXPAT = "--without-expat"
+EXPAT = "--with-expat"
EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
--with-curses --disable-multilib --with-system-readline --disable-sim \
@@ -63,4 +63,6 @@ do_install_append() {
RRECOMMENDS_gdb_append_linux = " glibc-thread-db "
RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "
+RRECOMMENDS_gdbserver_append_linux = " glibc-thread-db "
+RRECOMMENDS_gdbserver_append_linux-gnueabi = " glibc-thread-db "