summaryrefslogtreecommitdiff
path: root/meta/classes/distutils3-base.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-03-16 14:14:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 22:34:32 +0000
commit9a3e4ac4a4eeed64ec80d400130dff3d26daf336 (patch)
tree5f3ae7b3f80faaa318f1beecce70654194499ca7 /meta/classes/distutils3-base.bbclass
parent8bb0206ed67228c88dd5bc2d8b36ce28f48b78f4 (diff)
downloadopenembedded-core-9a3e4ac4a4eeed64ec80d400130dff3d26daf336.tar.gz
openembedded-core-9a3e4ac4a4eeed64ec80d400130dff3d26daf336.tar.bz2
openembedded-core-9a3e4ac4a4eeed64ec80d400130dff3d26daf336.zip
distutils: Introduce PYTHON_ABI variable
In python3 this has to be taken care of, it defines a variable to denote ABI currently its at 'm' and it uses this to construct the directory names for installing the python headers and library names in sysroot. e.g. it will be something like ../python3.3m/... We need this information when we are using distutils to cross build python extentions and want to know the locations of python headers and libraries install locations Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/classes/distutils3-base.bbclass')
-rw-r--r--meta/classes/distutils3-base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass
index 82ab6a3d1c..d4d25dccb9 100644
--- a/meta/classes/distutils3-base.bbclass
+++ b/meta/classes/distutils3-base.bbclass
@@ -1,5 +1,8 @@
DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}"
RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
+PYTHON_BASEVERSION = "3.3"
+PYTHON_ABI = "m"
+
inherit distutils-common-base python3native