mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
ref-manual: Added BBFILES_DYNAMIC variable to glossary
FIXED [YOCTO #12089] (From yocto-docs rev: 0906e9080e1c150feab60bb9d095688d274a061e) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
52586b4102
commit
c1e0242aaa
@@ -1142,6 +1142,53 @@
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
|
||||
<glossentry id='var-BBFILES_DYNAMIC'><glossterm>BBFILES_DYNAMIC</glossterm>
|
||||
<info>
|
||||
BBFILES_DYNAMIC[doc] = "Activates content when identified layers are present."
|
||||
</info>
|
||||
<glossdef>
|
||||
<para role="glossdeffirst">
|
||||
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
||||
Activates content when identified layers are present.
|
||||
You identify the layers by the collections that the layers
|
||||
define.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Use the <filename>BBFILES_DYNAMIC</filename> variable to
|
||||
avoid <filename>.bbappend</filename> files whose
|
||||
corresponding <filename>.bb</filename> file is in a layer
|
||||
that attempts to modify other layers through
|
||||
<filename>.bbappend</filename> but does not want to
|
||||
introduce a hard dependency on those other layers.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Use the following form for
|
||||
<filename>BBFILES_DYNAMIC</filename>:
|
||||
<literallayout class='monospaced'>
|
||||
<replaceable>collection_name</replaceable>:<replaceable>filename_pattern</replaceable>
|
||||
</literallayout>
|
||||
The following example identifies two collection names and
|
||||
two filename patterns:
|
||||
<literallayout class='monospaced'>
|
||||
BBFILES_DYNAMIC += " \
|
||||
clang-layer:${LAYERDIR}/bbappends/meta-clang/*/*/*.bbappend \
|
||||
core:${LAYERDIR}/bbappends/openembedded-core/meta/*/*/*.bbappend \
|
||||
"
|
||||
</literallayout>
|
||||
This next example shows an error message that occurs
|
||||
because invalid entries are found, which cause parsing to
|
||||
abort:
|
||||
<literallayout class='monospaced'>
|
||||
ERROR: BBFILES_DYNAMIC entries must be of the form <collection name>:<filename pattern>, not:
|
||||
/work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend
|
||||
/work/my-layer/bbappends/openembedded-core/meta/*/*/*.bbappend
|
||||
</literallayout>
|
||||
</para>
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
|
||||
<glossentry id='var-BBINCLUDELOGS'><glossterm>BBINCLUDELOGS</glossterm>
|
||||
<info>
|
||||
BBINCLUDELOGS[doc] = "Variable that controls how BitBake displays logs on build failure."
|
||||
|
||||
Reference in New Issue
Block a user