diff options
Diffstat (limited to 'documentation/poky-ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index fc2cbbeea3..e4c60d195f 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml | |||
@@ -360,6 +360,26 @@ | |||
360 | </glossdef> | 360 | </glossdef> |
361 | </glossentry> | 361 | </glossentry> |
362 | 362 | ||
363 | <glossentry id='var-INC_PR'><glossterm>INC_PR</glossterm> | ||
364 | <glossdef> | ||
365 | <para>Defines the Package revision. | ||
366 | You manually combine values for INC_PR into the PR field of the parent recipe. | ||
367 | When you change INC_PR you change the PR value for every person that includes the file. | ||
368 | </para> | ||
369 | <para> | ||
370 | The following example shows how to use INC_PR given a common <filename>.inc</filename> | ||
371 | that defines the variable. | ||
372 | Once defined, the variable can be used to set the PR value: | ||
373 | </para> | ||
374 | <programlisting> | ||
375 | recipes-graphics/xorg-font/font-util_1.1.1.bb:PR - "$(INC_PR).1" | ||
376 | recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR - "r1" | ||
377 | recipes-graphics/xorg-font/encondings_1.0.3.bb:PR - "$(INC_PR).1" | ||
378 | recipes-graphics/xorg-font/fiont-alias_1.0.2.bb:PR - "$(INC_PR).0" | ||
379 | </programlisting> | ||
380 | </glossdef> | ||
381 | </glossentry> | ||
382 | |||
363 | <glossentry id='var-INHIBIT_PACKAGE_STRIP'><glossterm>INHIBIT_PACKAGE_STRIP</glossterm> | 383 | <glossentry id='var-INHIBIT_PACKAGE_STRIP'><glossterm>INHIBIT_PACKAGE_STRIP</glossterm> |
364 | <glossdef> | 384 | <glossdef> |
365 | <para> | 385 | <para> |