summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2014-10-07 17:50:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-04 10:27:09 +0000
commit0d339e21db620dec66cf311c05b5844bb4657876 (patch)
tree7af337cfcf610a65591b9cd5393ec368aa6800f7
parent41ae2056e6b6f17a1d9fe7408596a448f3e605ad (diff)
downloadpoky-0d339e21db620dec66cf311c05b5844bb4657876.tar.gz
gdb-cross: build with python support
variable contents are displayed properly when debugging qt applications remotely see [1] for further details [1] http://qt-project.org/doc/qtcreator-2.6/creator-debugging-helpers.html#debugging-helpers-based-on-python (From OE-Core rev: 440440363dded1d1549dc94a3eaccfcbb3cf517d) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc13
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index cb99b06c5b..6e44778cd3 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -1,8 +1,17 @@
1require gdb-common.inc 1require gdb-common.inc
2 2
3DEPENDS = "expat-native ncurses-native readline-native" 3DEPENDS = "expat-native ncurses-native readline-native python-native"
4 4
5EXTRA_OECONF += "--without-python" 5inherit pythonnative
6
7EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
8
9do_compile_prepend() {
10 export BUILD_SYS="${BUILD_SYS}"
11 export HOST_SYS="${HOST_SYS}"
12 export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"
13 export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}"
14}
6 15
7#EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'" 16#EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'"
8 17