The PACKAGECONFIG variables in gdb-common.inc don't work correctly for the cross recipes so they need to be disabled.
Python support was not being enabled because the python PACKAGECONFIG added --without-python to OE_EXTRACONF. The recipe depends on readline-native and the readline PACKAGECONFIG just adds an unnecessary extra dependency on readline. The --with-system-readline configure argument is explicitly added to EXTRA_OECONF to ensure we link to readline-native. Signed-off-by: Jonathan Liu <[email protected]> --- meta/recipes-devtools/gdb/gdb-cross.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc index 6e44778..e13462e 100644 --- a/meta/recipes-devtools/gdb/gdb-cross.inc +++ b/meta/recipes-devtools/gdb/gdb-cross.inc @@ -5,6 +5,11 @@ DEPENDS = "expat-native ncurses-native readline-native python-native" inherit pythonnative EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python" +EXTRA_OECONF += "--with-system-readline" + +# Disable conflicting PACKAGECONFIG variables in gdb-common.inc +PACKAGECONFIG[python] = "" +PACKAGECONFIG[readline] = "" do_compile_prepend() { export BUILD_SYS="${BUILD_SYS}" -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
