mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
documentation: Updates to get rid of PRINC variable.
I did not eliminate this variable but rather changed the description to indicate that it has been deprecated and that the user should now use a PR Service to do this stuff. There were several areas in the YP manual set that used the variable in code. I just deleted those lines from the code. (From yocto-docs rev: 88a075e6306349e5f8c0d53b5288ef1e64956cd3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9ba7a776eb
commit
d5a0a6b676
@@ -5572,14 +5572,37 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||
|
||||
<glossentry id='var-PRINC'><glossterm>PRINC</glossterm>
|
||||
<glossdef>
|
||||
<para>Causes the <link linkend='var-PR'><filename>PR</filename></link>
|
||||
|
||||
<para>
|
||||
The <filename>PRINC</filename> variable has been deprecated
|
||||
and triggers a warning if detected during a build.
|
||||
For
|
||||
<link linkend='var-PR'><filename>PR</filename></link>
|
||||
increments on changes, use the PR service instead.
|
||||
You can find out more about this service in the
|
||||
"<ulink url='&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service'>Working With a PR Service</ulink>"
|
||||
section in the Yocto Project Development Manual.
|
||||
</para>
|
||||
<!--
|
||||
|
||||
<para>
|
||||
Causes the
|
||||
<link linkend='var-PR'><filename>PR</filename></link>
|
||||
variable of <filename>.bbappend</filename> files to
|
||||
dynamically increment.
|
||||
This increment minimizes the impact of layer ordering.</para>
|
||||
<para>In order to ensure multiple <filename>.bbappend</filename> files can co-exist,
|
||||
This increment minimizes the impact of layer ordering.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In order to ensure multiple <filename>.bbappend</filename>
|
||||
files can co-exist,
|
||||
<filename>PRINC</filename> should be self-referencing.
|
||||
This variable defaults to 0.</para>
|
||||
<para>Following is an example that increments <filename>PR</filename> by two:
|
||||
This variable defaults to 0.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Following is an example that increments
|
||||
<filename>PR</filename> by two:
|
||||
<literallayout class='monospaced'>
|
||||
PRINC := "${@int(PRINC) + 2}"
|
||||
</literallayout>
|
||||
@@ -5587,7 +5610,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||
this usage is very sensitive to layer ordering.
|
||||
You should avoid explicit assignments as they cannot
|
||||
adequately represent multiple
|
||||
<filename>.bbappend</filename> files.</para>
|
||||
<filename>.bbappend</filename> files.
|
||||
</para>
|
||||
-->
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user