summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/ref-variables.xml36
1 files changed, 24 insertions, 12 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 59d7c0acbc..c34188defb 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -6424,19 +6424,31 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
6424 </glossdef> 6424 </glossdef>
6425 </glossentry> 6425 </glossentry>
6426 6426
6427 <glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm> 6427 <glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm>
6428 <glossdef> 6428 <glossdef>
6429 <para>
6430 A list of aliases by which a particular recipe can be
6431 known.
6432 By default, a recipe's own
6433 <filename><link linkend='var-PN'>PN</link></filename>
6434 is implicitly already in its <filename>PROVIDES</filename>
6435 list.
6436 If a recipe uses <filename>PROVIDES</filename>, the
6437 additional aliases are synonyms for the recipe and can
6438 be useful satisfying dependencies of other recipes during
6439 the build as specified by
6440 <filename><link linkend='var-DEPENDS'>DEPENDS</link></filename>.
6441 </para>
6442
6429 <para> 6443 <para>
6430 A list of aliases that a recipe also provides. 6444 Consider the following example
6431 These aliases are useful for satisfying dependencies of 6445 <filename>PROVIDES</filename> statement from a recipe
6432 other recipes during the build (as specified by 6446 file <filename>libav_0.8.11.bb</filename>:
6433 <filename><link linkend='var-DEPENDS'>DEPENDS</link></filename>). 6447 <literallayout class='monospaced'>
6434 <note> 6448 PROVIDES += "libpostproc"
6435 A recipe's own 6449 </literallayout>
6436 <filename><link linkend='var-PN'>PN</link></filename> 6450 The <filename>PROVIDES</filename> statement results in
6437 is implicitly already in its 6451 the "libav" recipe also being known as "libpostproc".
6438 <filename>PROVIDES</filename> list.
6439 </note>
6440 </para> 6452 </para>
6441 </glossdef> 6453 </glossdef>
6442 </glossentry> 6454 </glossentry>