]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3native.bbclass: Add python3 abstraction class
authorKhem Raj <raj.khem@gmail.com>
Tue, 14 May 2013 21:57:25 +0000 (14:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Feb 2014 22:34:31 +0000 (22:34 +0000)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/classes/python3native.bbclass [new file with mode: 0644]

diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass
new file mode 100644 (file)
index 0000000..f86374f
--- /dev/null
@@ -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 "