mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
41b46d7826
commit
157c80f488
@@ -1744,16 +1744,28 @@
|
|||||||
<glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm>
|
<glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>
|
<para>
|
||||||
A list of aliases that a recipe also provides.
|
A list of aliases by which a particular recipe can be
|
||||||
These aliases are useful for satisfying dependencies of
|
known.
|
||||||
other recipes during the build (as specified by
|
By default, a recipe's own
|
||||||
<filename><link linkend='var-DEPENDS'>DEPENDS</link></filename>).
|
<filename><link linkend='var-PN'>PN</link></filename>
|
||||||
<note>
|
is implicitly already in its <filename>PROVIDES</filename>
|
||||||
A recipe's own
|
list.
|
||||||
<filename><link linkend='var-PN'>PN</link></filename>
|
If a recipe uses <filename>PROVIDES</filename>, the
|
||||||
is implicitly already in its
|
additional aliases are synonyms for the recipe and can
|
||||||
<filename>PROVIDES</filename> list.
|
be useful satisfying dependencies of other recipes during
|
||||||
</note>
|
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>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|||||||
Reference in New Issue
Block a user