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:
Scott Rifenbark 2013-04-16 11:24:18 -07:00 committed by Richard Purdie
parent 2cb80f28a7
commit eacedc09de
1 changed files with 7 additions and 9 deletions

View File

@ -3816,32 +3816,30 @@
However, on rare occasions where you might want to use a
layer but exclude parts that are causing problems, such
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>
It is possible to filter or mask out <filename>.bb</filename> and
<filename>.bbappend</filename> files.
You can do this by providing an expression with the
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBMASK'><filename>BBMASK</filename></ulink>
variable.
<filename>BBMASK</filename> variable.
Here is an example:
<literallayout class='monospaced'>
BBMASK = "/meta-mymachine/recipes-maybe/"
</literallayout>
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.
See the glossary entry for the
<ulink url='&YOCTO_DOCS_REF_URL;#var-BBMASK'><filename>BBMASK</filename></ulink>
variable for more information.
</para>
<note>
The value you provide is passed to python's regular expression
The value you provide is passed to Python's regular expression
compiler.
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>.
</note>
</section>