summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>