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)

(From OE-Core rev: 97567bfc23f925d9644b776cc885f56aa7ff983f)

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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Müller 2014-10-07 17:50:30 +02:00 committed by Richard Purdie
parent a291eb108b
commit 1020bc3de3

View File

@ -1,8 +1,17 @@
require gdb-common.inc
DEPENDS = "expat-native ncurses-native readline-native"
DEPENDS = "expat-native ncurses-native readline-native python-native"
EXTRA_OECONF += "--without-python"
inherit pythonnative
EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
do_compile_prepend() {
export BUILD_SYS="${BUILD_SYS}"
export HOST_SYS="${HOST_SYS}"
export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"
export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}"
}
#EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'"