From: Alexander Kanavin Date: Wed, 22 Jun 2016 12:06:34 +0000 (+0300) Subject: gdb-cross: do not hardcode the use of Python 2 X-Git-Tag: yocto-4.0~20776 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ec8db434c6da54333cbdc54763bb5561b6e4d10;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gdb-cross: do not hardcode the use of Python 2 This was overlooked in the move to Python 3 Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc index 7579205dcf6..5fa7c3367d0 100644 --- a/meta/recipes-devtools/gdb/gdb-cross.inc +++ b/meta/recipes-devtools/gdb/gdb-cross.inc @@ -6,7 +6,7 @@ inherit python3native # Overrides PACKAGECONFIG variables in gdb-common.inc PACKAGECONFIG ??= "python readline" -PACKAGECONFIG[python] = "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python,--without-python,python3-native" +PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native" do_compile_prepend() {