dev-manual: Edits to "Excluding Recipes From the Build" section.
(From yocto-docs rev: 926a855e4ebf88697ea2ecfe75aca4c402fdb4d4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2cb80f28a7
commit
eacedc09de
|
@ -3816,32 +3816,30 @@
|
||||||
However, on rare occasions where you might want to use a
|
However, on rare occasions where you might want to use a
|
||||||
layer but exclude parts that are causing problems, such
|
layer but exclude parts that are causing problems, such
|
||||||
as introducing a different version of a recipe, you can
|
as introducing a different version of a recipe, you can
|
||||||
use <filename>BBMASK</filename> to exclude the recipe.
|
use
|
||||||
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBMASK'><filename>BBMASK</filename></ulink>
|
||||||
|
to exclude the recipe.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
It is possible to filter or mask out <filename>.bb</filename> and
|
It is possible to filter or mask out <filename>.bb</filename> and
|
||||||
<filename>.bbappend</filename> files.
|
<filename>.bbappend</filename> files.
|
||||||
You can do this by providing an expression with the
|
You can do this by providing an expression with the
|
||||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBMASK'><filename>BBMASK</filename></ulink>
|
<filename>BBMASK</filename> variable.
|
||||||
variable.
|
|
||||||
Here is an example:
|
Here is an example:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
BBMASK = "/meta-mymachine/recipes-maybe/"
|
BBMASK = "/meta-mymachine/recipes-maybe/"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
Here, all <filename>.bb</filename> and
|
Here, all <filename>.bb</filename> and
|
||||||
<filename>.bbappend</filename> files in the directory that matches
|
<filename>.bbappend</filename> files in the directory that match
|
||||||
the expression are ignored during the build process.
|
the expression are ignored during the build process.
|
||||||
See the glossary entry for the
|
|
||||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBMASK'><filename>BBMASK</filename></ulink>
|
|
||||||
variable for more information.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
The value you provide is passed to python's regular expression
|
The value you provide is passed to Python's regular expression
|
||||||
compiler.
|
compiler.
|
||||||
The expression is compared against the full paths to the files.
|
The expression is compared against the full paths to the files.
|
||||||
For complete syntax information, see python's documentation at
|
For complete syntax information, see Python's documentation at
|
||||||
<ulink url='http://docs.python.org/release/2.3/lib/re-syntax.html'></ulink>.
|
<ulink url='http://docs.python.org/release/2.3/lib/re-syntax.html'></ulink>.
|
||||||
</note>
|
</note>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue