From 0d339e21db620dec66cf311c05b5844bb4657876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Tue, 7 Oct 2014 17:50:30 +0200 Subject: gdb-cross: build with python support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/gdb/gdb-cross.inc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'meta/recipes-devtools/gdb/gdb-cross.inc') diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc index cb99b06..6e44778 100644 --- a/meta/recipes-devtools/gdb/gdb-cross.inc +++ b/meta/recipes-devtools/gdb/gdb-cross.inc @@ -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}'" -- cgit v1.1