summaryrefslogtreecommitdiffstats
path: root/meta/classes/python3native.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-05-14 14:57:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 22:37:38 +0000
commit962ea3dfcc0df3740511ae8a693dd26a85c13972 (patch)
tree3e34431ed22d45597a6366fa5d67545d1bfc584e /meta/classes/python3native.bbclass
parentc1a3286d9f0dbe04f4bc094d404e043f4f81802d (diff)
downloadpoky-962ea3dfcc0df3740511ae8a693dd26a85c13972.tar.gz
python3native.bbclass: Add python3 abstraction class
(From OE-Core rev: ead30aa5e3046f450ee688e14f6d5268d9ed0bd8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/python3native.bbclass')
-rw-r--r--meta/classes/python3native.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass
new file mode 100644
index 0000000000..f86374fd33
--- /dev/null
+++ b/meta/classes/python3native.bbclass
@@ -0,0 +1,7 @@
1PYTHON_BASEVERSION = "3.3"
2
3inherit python-dir
4
5PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
6EXTRANATIVEPATH += "${PYTHON_PN}-native"
7DEPENDS += " ${PYTHON_PN}-native "