summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-09-21 06:38:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-24 16:36:08 +0100
commit3232d19af10d4b925f34d63fcf0691f4de2baa3e (patch)
tree0f3e0dd9e7def63ae06e2b753589570fb4c7024b /documentation/poky-ref-manual/ref-variables.xml
parent09c0ccdc9a6ae70f374c16fc522775a0c77dd20e (diff)
downloadpoky-3232d19af10d4b925f34d63fcf0691f4de2baa3e.tar.gz
documentation/poky-ref-manual/ref-variables.xml: new PRINC glossary term
Added a first draft of the glossary term PRINC. (From yocto-docs rev: 418862011e79940ee378f64c6171618d29568014) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual/ref-variables.xml')
-rw-r--r--documentation/poky-ref-manual/ref-variables.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml
index 6959b94d73..cbedfd010b 100644
--- a/documentation/poky-ref-manual/ref-variables.xml
+++ b/documentation/poky-ref-manual/ref-variables.xml
@@ -1587,6 +1587,25 @@ recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
1587 </glossdef> 1587 </glossdef>
1588 </glossentry> 1588 </glossentry>
1589 1589
1590 <glossentry id='var-PRINC'><glossterm>PRINC</glossterm>
1591 <glossdef>
1592 <para>Causes the <filename>PR</filename> variable to dynamically increment.
1593 This incrementation increases the value of a recipe's revision
1594 (<filename>PR</filename>) while minimizing the impact of layer ordering.</para>
1595 <para>In order to ensure multiple <filename>.bbappend</filename> files can co-exist,
1596 <filename>PRINC</filename> should be self referencing.
1597 The variable defaults to 0.</para>
1598 <para>Following is an example that increments <filename>PR</filename> by two:
1599 <literallayout class='monospaced'>
1600 PRINC := "${@int(PRINC) + 2}"
1601 </literallayout>
1602 It is adviseable not to use strings such as ".= '.1'" with the variable because
1603 this usage is very sensitive to layer ordering.
1604 Explicit assignments should be avoided as they cannot adequately represent multiple
1605 <filename>.bbappend</filename> files.</para>
1606 </glossdef>
1607 </glossentry>
1608
1590 <glossentry id='var-PV'><glossterm>PV</glossterm> 1609 <glossentry id='var-PV'><glossterm>PV</glossterm>
1591 <glossdef> 1610 <glossdef>
1592 <para>The version of the recipe. 1611 <para>The version of the recipe.