summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-06-22 15:06:34 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-01 16:08:44 +0100
commit2ec8db434c6da54333cbdc54763bb5561b6e4d10 (patch)
tree573fe118876478759e88e3d1e7ddc138e49b19af /meta/recipes-devtools/gdb
parent708cd88608d2407db3d679cb6489dcdad58af5b7 (diff)
downloadopenembedded-core-2ec8db434c6da54333cbdc54763bb5561b6e4d10.tar.gz
openembedded-core-2ec8db434c6da54333cbdc54763bb5561b6e4d10.tar.bz2
openembedded-core-2ec8db434c6da54333cbdc54763bb5561b6e4d10.zip
gdb-cross: do not hardcode the use of Python 2
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>
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 7579205dcf..5fa7c3367d 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() {