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 nativesdk-readline 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 nativesdk-readline. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc index ae97759..952f28f 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc @@ -13,7 +13,12 @@ RDEPENDS_${PN} += "nativesdk-python-core nativesdk-python-lang nativesdk-python- GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" -EXTRA_OECONF_append = " --with-python=${WORKDIR}/python" +EXTRA_OECONF += "--with-python=${WORKDIR}/python" +EXTRA_OECONF += "--with-system-readline" + +# Disable conflicting PACKAGECONFIG variables in gdb-common.inc +PACKAGECONFIG[python] = "" +PACKAGECONFIG[readline] = "" SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core