diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-05-14 14:57:25 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 22:37:38 +0000 |
commit | 962ea3dfcc0df3740511ae8a693dd26a85c13972 (patch) | |
tree | 3e34431ed22d45597a6366fa5d67545d1bfc584e /meta/classes/python3native.bbclass | |
parent | c1a3286d9f0dbe04f4bc094d404e043f4f81802d (diff) | |
download | poky-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.bbclass | 7 |
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 @@ | |||
1 | PYTHON_BASEVERSION = "3.3" | ||
2 | |||
3 | inherit python-dir | ||
4 | |||
5 | PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" | ||
6 | EXTRANATIVEPATH += "${PYTHON_PN}-native" | ||
7 | DEPENDS += " ${PYTHON_PN}-native " | ||