aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-06-26 09:50:26 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:58:56 +0100
commit157c80f488d6fb90ea27feed26fe6ceee914da48 (patch)
tree39369deeae8b9fdec03c17e0c3fde72a0d077801 /bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
parent41b46d7826f2840ca2f0b478ecd298616ad6b313 (diff)
downloadopenembedded-core-contrib-157c80f488d6fb90ea27feed26fe6ceee914da48.tar.gz
bitbake: bitbake-user-manual-ref-variables.xml: Edits to PROVIDES variable.
Added some more detail to help describe the variable. (Bitbake rev: 4b2019e67324f0f86e1a49d256eddb4f9ca597f4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml32
1 files changed, 22 insertions, 10 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
index b33a457d63..109c601d46 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml
@@ -1744,16 +1744,28 @@
<glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm>
<glossdef>
<para>
- A list of aliases that a recipe also provides.
- These aliases are useful for satisfying dependencies of
- other recipes during the build (as specified by
- <filename><link linkend='var-DEPENDS'>DEPENDS</link></filename>).
- <note>
- A recipe's own
- <filename><link linkend='var-PN'>PN</link></filename>
- is implicitly already in its
- <filename>PROVIDES</filename> list.
- </note>
+ A list of aliases by which a particular recipe can be
+ known.
+ By default, a recipe's own
+ <filename><link linkend='var-PN'>PN</link></filename>
+ is implicitly already in its <filename>PROVIDES</filename>
+ list.
+ If a recipe uses <filename>PROVIDES</filename>, the
+ additional aliases are synonyms for the recipe and can
+ be useful satisfying dependencies of other recipes during
+ the build as specified by
+ <filename><link linkend='var-DEPENDS'>DEPENDS</link></filename>.
+ </para>
+
+ <para>
+ Consider the following example
+ <filename>PROVIDES</filename> statement from a recipe
+ file <filename>libav_0.8.11.bb</filename>:
+ <literallayout class='monospaced'>
+ PROVIDES += "libpostproc"
+ </literallayout>
+ The <filename>PROVIDES</filename> statement results in
+ the "libav" recipe also being known as "libpostproc".
</para>
</glossdef>
</glossentry>