From ae931c2cf9e48e1fb74b4b727dbf668ea880023f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 9 Mar 2013 22:03:59 -0800 Subject: classes/distutils: Introduce PYTHON_PN This is needed to accomodate python3 alongside python2 Signed-off-by: Khem Raj --- meta/classes/pythonnative.bbclass | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'meta/classes/pythonnative.bbclass') diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass index 7886207d06..fdd22bbc86 100644 --- a/meta/classes/pythonnative.bbclass +++ b/meta/classes/pythonnative.bbclass @@ -1,3 +1,6 @@ -PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" -EXTRANATIVEPATH += "python-native" -DEPENDS += " python-native " + +inherit python-dir + +PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" +EXTRANATIVEPATH += "${PYTHON_PN}-native" +DEPENDS += " ${PYTHON_PN}-native " -- cgit 1.2.3-korg