summaryrefslogtreecommitdiff
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:34:31 +0000
commitead30aa5e3046f450ee688e14f6d5268d9ed0bd8 (patch)
tree7660c2058d321caf0f2e43fb0c57fc14830d4a12
parente314404876e62c05c7ea5f5e79b2b05c3ed9ab84 (diff)
downloadopenembedded-core-ead30aa5e3046f450ee688e14f6d5268d9ed0bd8.tar.gz
openembedded-core-ead30aa5e3046f450ee688e14f6d5268d9ed0bd8.tar.bz2
openembedded-core-ead30aa5e3046f450ee688e14f6d5268d9ed0bd8.zip
python3native.bbclass: Add python3 abstraction class
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-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 @@
+PYTHON_BASEVERSION = "3.3"
+
+inherit python-dir
+
+PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
+EXTRANATIVEPATH += "${PYTHON_PN}-native"
+DEPENDS += " ${PYTHON_PN}-native "