[OE-core] [PATCH] gdb-cross: build with python support

Andreas Müller schnitzeltony at googlemail.com
Mon Oct 20 20:42:58 UTC 2014


On Tuesday, October 7, 2014, Andreas Müller <schnitzeltony at googlemail.com>
wrote:
> 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
>
> Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
> ---
>  meta/recipes-devtools/gdb/gdb-cross.inc | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)
>
> 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}'"
>
> --
> 1.8.3.1
>
>
ping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141020/011c54ac/attachment-0002.html>


More information about the Openembedded-core mailing list