From 9a3e4ac4a4eeed64ec80d400130dff3d26daf336 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 16 Mar 2013 14:14:32 -0700 Subject: 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 --- meta/classes/python-dir.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/python-dir.bbclass') diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass index b4b5ab0eab..ebfa4b30f6 100644 --- a/meta/classes/python-dir.bbclass +++ b/meta/classes/python-dir.bbclass @@ -1,4 +1,5 @@ PYTHON_BASEVERSION ?= "2.7" +PYTHON_ABI ?= "" PYTHON_DIR = "python${PYTHON_BASEVERSION}" PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}" PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages" -- cgit 1.2.3-korg