summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/ref-manual/ref-variables.xml46
1 files changed, 46 insertions, 0 deletions
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"
5731 </glossdef> 5731 </glossdef>
5732 </glossentry> 5732 </glossentry>
5733 5733
5734 <glossentry id='var-PYTHON_ABI'><glossterm>PYTHON_ABI</glossterm>
5735 <glossdef>
5736 <para>
5737 Denotes the Application Binary Interface (ABI) currently
5738 in use for Python.
5739 By default, the ABI is "m".
5740 </para>
5741
5742 <para>
5743 The OpenEmbedded build system uses the ABI to construct
5744 directory names used when installing the Python headers
5745 and libraries in sysroot
5746 (e.g. <filename>.../python3.3m/...</filename>).
5747 </para>
5748
5749 <para>
5750 Recipes that inherit the
5751 <link linkend='ref-classes-distutils'><filename>distutils</filename></link>
5752 class during cross-builds also use this variable to
5753 locate the headers and libraries of the appropriate Python
5754 that the extension is targeting.
5755 </para>
5756 </glossdef>
5757 </glossentry>
5758
5759 <glossentry id='var-PYTHON_PN'><glossterm>PYTHON_PN</glossterm>
5760 <glossdef>
5761 <para>
5762 Specifies the major Python version being built.
5763 For Python 2.x, <filename>PYTHON_PN</filename> would
5764 be "python2". For Python 3.x, the variable would be
5765 "python3".
5766 </para>
5767
5768 <para>
5769 The variable allows recipes to use common infrastructure
5770 such as the following:
5771 <literallayout class='monospaced'>
5772 DEPENDS += "${PYTHON_PN}-native"
5773 </literallayout>
5774 In the previous example, the version of the dependency
5775 is <filename>PYTHON_PN</filename>.
5776 </para>
5777 </glossdef>
5778 </glossentry>
5779
5734 </glossdiv> 5780 </glossdiv>
5735 5781
5736 <glossdiv id='var-glossary-q'><title>Q</title> 5782 <glossdiv id='var-glossary-q'><title>Q</title>