diff options
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/migration.xml | 6 | ||||
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 49 |
2 files changed, 2 insertions, 53 deletions
diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml index 984485ede2..dc75eb827b 100644 --- a/documentation/ref-manual/migration.xml +++ b/documentation/ref-manual/migration.xml | |||
@@ -1351,8 +1351,7 @@ | |||
1351 | <title><filename>PRINC</filename></title> | 1351 | <title><filename>PRINC</filename></title> |
1352 | 1352 | ||
1353 | <para> | 1353 | <para> |
1354 | The | 1354 | The <filename>PRINC</filename> |
1355 | <link linkend='var-PRINC'><filename>PRINC</filename></link> | ||
1356 | variable has been deprecated and triggers a warning if | 1355 | variable has been deprecated and triggers a warning if |
1357 | detected during a build. | 1356 | detected during a build. |
1358 | For | 1357 | For |
@@ -2247,8 +2246,7 @@ | |||
2247 | The following QA Check and Validation Changes have occurred: | 2246 | The following QA Check and Validation Changes have occurred: |
2248 | <itemizedlist> | 2247 | <itemizedlist> |
2249 | <listitem><para> | 2248 | <listitem><para> |
2250 | Usage of | 2249 | Usage of <filename>PRINC</filename> |
2251 | <link linkend='var-PRINC'><filename>PRINC</filename></link> | ||
2252 | previously triggered a warning. | 2250 | previously triggered a warning. |
2253 | It now triggers an error. | 2251 | It now triggers an error. |
2254 | You should remove any remaining usage of | 2252 | You should remove any remaining usage of |
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 3bc5627c72..97a775a793 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -9200,55 +9200,6 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
9200 | </glossdef> | 9200 | </glossdef> |
9201 | </glossentry> | 9201 | </glossentry> |
9202 | 9202 | ||
9203 | <glossentry id='var-PRINC'><glossterm>PRINC</glossterm> | ||
9204 | <info> | ||
9205 | PRINC[doc] = "Causes the PR variable of .bbappend files to dynamically increment. This increment minimizes the impact of layer ordering. This variable defaults to '0'." | ||
9206 | </info> | ||
9207 | <glossdef> | ||
9208 | <para role="glossdeffirst"> | ||
9209 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | ||
9210 | The <filename>PRINC</filename> variable has been deprecated | ||
9211 | and triggers a warning if detected during a build. | ||
9212 | For | ||
9213 | <link linkend='var-PR'><filename>PR</filename></link> | ||
9214 | increments on changes, use the PR service instead. | ||
9215 | You can find out more about this service in the | ||
9216 | "<ulink url='&YOCTO_DOCS_DEV_URL;#working-with-a-pr-service'>Working With a PR Service</ulink>" | ||
9217 | section in the Yocto Project Development Manual. | ||
9218 | </para> | ||
9219 | <!-- | ||
9220 | |||
9221 | <para> | ||
9222 | Causes the | ||
9223 | <link linkend='var-PR'><filename>PR</filename></link> | ||
9224 | variable of <filename>.bbappend</filename> files to | ||
9225 | dynamically increment. | ||
9226 | This increment minimizes the impact of layer ordering. | ||
9227 | </para> | ||
9228 | |||
9229 | <para> | ||
9230 | In order to ensure multiple <filename>.bbappend</filename> | ||
9231 | files can co-exist, | ||
9232 | <filename>PRINC</filename> should be self-referencing. | ||
9233 | This variable defaults to 0. | ||
9234 | </para> | ||
9235 | |||
9236 | <para> | ||
9237 | Following is an example that increments | ||
9238 | <filename>PR</filename> by two: | ||
9239 | <literallayout class='monospaced'> | ||
9240 | PRINC := "${@int(PRINC) + 2}" | ||
9241 | </literallayout> | ||
9242 | It is advisable not to use strings such as ".= '.1'" with the variable because | ||
9243 | this usage is very sensitive to layer ordering. | ||
9244 | You should avoid explicit assignments as they cannot | ||
9245 | adequately represent multiple | ||
9246 | <filename>.bbappend</filename> files. | ||
9247 | </para> | ||
9248 | --> | ||
9249 | </glossdef> | ||
9250 | </glossentry> | ||
9251 | |||
9252 | <glossentry id='var-PRIORITY'><glossterm>PRIORITY</glossterm> | 9203 | <glossentry id='var-PRIORITY'><glossterm>PRIORITY</glossterm> |
9253 | <info> | 9204 | <info> |
9254 | PRIORITY[doc] = "Indicates the importance of a package. The default value is 'optional'. Other standard values are 'required', 'standard' and 'extra'." | 9205 | PRIORITY[doc] = "Indicates the importance of a package. The default value is 'optional'. Other standard values are 'required', 'standard' and 'extra'." |