From 09d5f9f7a5123f67961c36794c1d142256e23c41 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 3 Apr 2014 09:28:47 -0600 Subject: [PATCH] ref-manual: Added PYTHON_ABI and PYTHON_PN variables to glossary. (From yocto-docs rev: fb924b94674422a92a519cc33770791ebc1f9de8) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index d42929a016..cc2a64d807 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -5731,6 +5731,52 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + PYTHON_ABI + + + Denotes the Application Binary Interface (ABI) currently + in use for Python. + By default, the ABI is "m". + + + + The OpenEmbedded build system uses the ABI to construct + directory names used when installing the Python headers + and libraries in sysroot + (e.g. .../python3.3m/...). + + + + Recipes that inherit the + distutils + class during cross-builds also use this variable to + locate the headers and libraries of the appropriate Python + that the extension is targeting. + + + + + PYTHON_PN + + + Specifies the major Python version being built. + For Python 2.x, PYTHON_PN would + be "python2". For Python 3.x, the variable would be + "python3". + + + + The variable allows recipes to use common infrastructure + such as the following: + + DEPENDS += "${PYTHON_PN}-native" + + In the previous example, the version of the dependency + is PYTHON_PN. + + + + Q