]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdb-cross: do not hardcode the use of Python 2
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Wed, 22 Jun 2016 12:06:34 +0000 (15:06 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Jul 2016 15:08:44 +0000 (16:08 +0100)
This was overlooked in the move to Python 3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gdb/gdb-cross.inc

index 7579205dcf631d1e8970e516d6430a85d87c09aa..5fa7c3367d0201273e0ce7cb282cf927bee08c02 100644 (file)
@@ -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() {