summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-06-26 14:29:07 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:57:10 +0100
commitf8d31147460e147696b27674a8a567dc321f6965 (patch)
tree35975fd9a591d157337fdc4a04e6d7b8f557b7c5 /documentation/ref-manual/ref-variables.xml
parentc5ca7cd3dc697288be1a7c5db1794793a8ca90dc (diff)
downloadpoky-f8d31147460e147696b27674a8a567dc321f6965.tar.gz
ref-manual: Edits to PROVIDES variable.
More detail added. (From yocto-docs rev: 84177a600f84af4cc41b9493b46e2a23bc7ccc19) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-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>