summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2010-11-15 08:27:07 -0800
committerSaul Wold <Saul.Wold@intel.com>2010-12-10 22:01:05 -0800
commit8feae1342393dcf1dad5d86df2ebe3727ea40d88 (patch)
tree8b8472a0f88db697cc995962e1bfa21363e13dad /documentation/poky-ref-manual/ref-variables.xml
parente7e12483e42a995f6611818cda9b556e995ec271 (diff)
downloadast2050-yocto-poky-8feae1342393dcf1dad5d86df2ebe3727ea40d88.zip
ast2050-yocto-poky-8feae1342393dcf1dad5d86df2ebe3727ea40d88.tar.gz
Poky Reference Manual: Added INC_PR documentation.
Added an entry in the glossary for INC_PR. Also updated section "Package Revision Incrementing" to mention the use of INC_PR in conjuntion with the PR and PV variables. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Diffstat (limited to 'documentation/poky-ref-manual/ref-variables.xml')
-rw-r--r--documentation/poky-ref-manual/ref-variables.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml
index fc2cbbe..e4c60d1 100644
--- a/documentation/poky-ref-manual/ref-variables.xml
+++ b/documentation/poky-ref-manual/ref-variables.xml
@@ -360,6 +360,26 @@
</glossdef>
</glossentry>
+ <glossentry id='var-INC_PR'><glossterm>INC_PR</glossterm>
+ <glossdef>
+ <para>Defines the Package revision.
+ You manually combine values for INC_PR into the PR field of the parent recipe.
+ When you change INC_PR you change the PR value for every person that includes the file.
+ </para>
+ <para>
+ The following example shows how to use INC_PR given a common <filename>.inc</filename>
+ that defines the variable.
+ Once defined, the variable can be used to set the PR value:
+ </para>
+ <programlisting>
+recipes-graphics/xorg-font/font-util_1.1.1.bb:PR - "$(INC_PR).1"
+recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR - "r1"
+recipes-graphics/xorg-font/encondings_1.0.3.bb:PR - "$(INC_PR).1"
+recipes-graphics/xorg-font/fiont-alias_1.0.2.bb:PR - "$(INC_PR).0"
+ </programlisting>
+ </glossdef>
+ </glossentry>
+
<glossentry id='var-INHIBIT_PACKAGE_STRIP'><glossterm>INHIBIT_PACKAGE_STRIP</glossterm>
<glossdef>
<para>
OpenPOWER on IntegriCloud