summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent41b46d7826f2840ca2f0b478ecd298616ad6b313 (diff)
downloadpoky-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')
-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 @@
1744 <glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm> 1744 <glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm>
1745 <glossdef> 1745 <glossdef>
1746 <para> 1746 <para>
1747 A list of aliases that a recipe also provides. 1747 A list of aliases by which a particular recipe can be
1748 These aliases are useful for satisfying dependencies of 1748 known.
1749 other recipes during the build (as specified by 1749 By default, a recipe's own
1750 <filename><link linkend='var-DEPENDS'>DEPENDS</link></filename>). 1750 <filename><link linkend='var-PN'>PN</link></filename>
1751 <note> 1751 is implicitly already in its <filename>PROVIDES</filename>
1752 A recipe's own 1752 list.
1753 <filename><link linkend='var-PN'>PN</link></filename> 1753 If a recipe uses <filename>PROVIDES</filename>, the
1754 is implicitly already in its 1754 additional aliases are synonyms for the recipe and can
1755 <filename>PROVIDES</filename> list. 1755 be useful satisfying dependencies of other recipes during
1756 </note> 1756 the build as specified by
1757 <filename><link linkend='var-DEPENDS'>DEPENDS</link></filename>.
1758 </para>
1759
1760 <para>
1761 Consider the following example
1762 <filename>PROVIDES</filename> statement from a recipe
1763 file <filename>libav_0.8.11.bb</filename>:
1764 <literallayout class='monospaced'>
1765 PROVIDES += "libpostproc"
1766 </literallayout>
1767 The <filename>PROVIDES</filename> statement results in
1768 the "libav" recipe also being known as "libpostproc".
1757 </para> 1769 </para>
1758 </glossdef> 1770 </glossdef>
1759 </glossentry> 1771 </glossentry>