summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.