summaryrefslogtreecommitdiffstats
path: root/meta/classes/pythonnative.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-03-09 22:03:59 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 22:37:38 +0000
commit8314590f099ec3e0592355b192ef80a2e71daac0 (patch)
treebedb57ee3e0ab89f8c236bdef3bbf69ca7cfeabd /meta/classes/pythonnative.bbclass
parent867b1eee25344d0b891dc539c6eb01f527165ae2 (diff)
downloadpoky-8314590f099ec3e0592355b192ef80a2e71daac0.tar.gz
classes/distutils: Introduce PYTHON_PN
This is needed to accomodate python3 alongside python2 (From OE-Core rev: ae931c2cf9e48e1fb74b4b727dbf668ea880023f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/pythonnative.bbclass')
-rw-r--r--meta/classes/pythonnative.bbclass9
1 files changed, 6 insertions, 3 deletions
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 @@
1PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" 1
2EXTRANATIVEPATH += "python-native" 2inherit python-dir
3DEPENDS += " python-native " 3
4PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
5EXTRANATIVEPATH += "${PYTHON_PN}-native"
6DEPENDS += " ${PYTHON_PN}-native "