diff options
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 966f7c2663..6d8e7aa0aa 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -5572,14 +5572,37 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
5572 | 5572 | ||
5573 | <glossentry id='var-PRINC'><glossterm>PRINC</glossterm> | 5573 | <glossentry id='var-PRINC'><glossterm>PRINC</glossterm> |
5574 | <glossdef> | 5574 | <glossdef> |
5575 | <para>Causes the <link linkend='var-PR'><filename>PR</filename></link> | 5575 | |
5576 | <para> | ||
5577 | The <filename>PRINC</filename> variable has been deprecated | ||
5578 | and triggers a warning if detected during a build. | ||
5579 | For | ||
5580 | <link linkend='var-PR'><filename>PR</filename></link> | ||
5581 | increments on changes, use the PR service instead. | ||
5582 | You can find out more about this service in the | ||
5583 | "<ulink url='&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service'>Working With a PR Service</ulink>" | ||
5584 | section in the Yocto Project Development Manual. | ||
5585 | </para> | ||
5586 | <!-- | ||
5587 | |||
5588 | <para> | ||
5589 | Causes the | ||
5590 | <link linkend='var-PR'><filename>PR</filename></link> | ||
5576 | variable of <filename>.bbappend</filename> files to | 5591 | variable of <filename>.bbappend</filename> files to |
5577 | dynamically increment. | 5592 | dynamically increment. |
5578 | This increment minimizes the impact of layer ordering.</para> | 5593 | This increment minimizes the impact of layer ordering. |
5579 | <para>In order to ensure multiple <filename>.bbappend</filename> files can co-exist, | 5594 | </para> |
5595 | |||
5596 | <para> | ||
5597 | In order to ensure multiple <filename>.bbappend</filename> | ||
5598 | files can co-exist, | ||
5580 | <filename>PRINC</filename> should be self-referencing. | 5599 | <filename>PRINC</filename> should be self-referencing. |
5581 | This variable defaults to 0.</para> | 5600 | This variable defaults to 0. |
5582 | <para>Following is an example that increments <filename>PR</filename> by two: | 5601 | </para> |
5602 | |||
5603 | <para> | ||
5604 | Following is an example that increments | ||
5605 | <filename>PR</filename> by two: | ||
5583 | <literallayout class='monospaced'> | 5606 | <literallayout class='monospaced'> |
5584 | PRINC := "${@int(PRINC) + 2}" | 5607 | PRINC := "${@int(PRINC) + 2}" |
5585 | </literallayout> | 5608 | </literallayout> |
@@ -5587,7 +5610,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
5587 | this usage is very sensitive to layer ordering. | 5610 | this usage is very sensitive to layer ordering. |
5588 | You should avoid explicit assignments as they cannot | 5611 | You should avoid explicit assignments as they cannot |
5589 | adequately represent multiple | 5612 | adequately represent multiple |
5590 | <filename>.bbappend</filename> files.</para> | 5613 | <filename>.bbappend</filename> files. |
5614 | </para> | ||
5615 | --> | ||
5591 | </glossdef> | 5616 | </glossdef> |
5592 | </glossentry> | 5617 | </glossentry> |
5593 | 5618 | ||