[oe-commits] [openembedded-core] 16/83: gdb-cross: do not hardcode the use of Python 2

git at git.openembedded.org git at git.openembedded.org
Fri Jul 1 15:31:44 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2ec8db434c6da54333cbdc54763bb5561b6e4d10
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Wed Jun 22 15:06:34 2016 +0300

    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 at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/gdb/gdb-cross.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 7579205..5fa7c33 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() {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list