gdb-cross: do not hardcode the use of Python 2

This was overlooked in the move to Python 3

(From OE-Core rev: 2ec8db434c6da54333cbdc54763bb5561b6e4d10)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2016-06-22 15:06:34 +03:00 committed by Richard Purdie
parent a3869bfe91
commit 83b11dcd55
1 changed files with 1 additions and 1 deletions

View 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() {