<div dir="ltr"><div>This has been applied. see <a href="http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#var-BBMASK">http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#var-BBMASK</a>. <br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 27, 2016 at 9:23 AM, Peter Kjellerstedt <span dir="ltr"><<a href="mailto:peter.kjellerstedt@axis.com" target="_blank">peter.kjellerstedt@axis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Update the help for BBMASK to reflect that it is now allowed to<br>
contain multiple regular expressions. Also changed the examples for<br>
BBMASK to be a bit more diverse.<br>
<br>
Signed-off-by: Peter Kjellerstedt <<a href="mailto:peter.kjellerstedt@axis.com">peter.kjellerstedt@axis.com</a>><br>
---<br>
documentation/ref-manual/ref-variables.xml | 26 ++++++++++----------------<br>
1 file changed, 10 insertions(+), 16 deletions(-)<br>
<br>
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml<br>
index 673e431..49aea7a 100644<br>
--- a/documentation/ref-manual/ref-variables.xml<br>
+++ b/documentation/ref-manual/ref-variables.xml<br>
@@ -1200,17 +1200,13 @@<br>
<br>
<glossentry id='var-BBMASK'><glossterm>BBMASK</glossterm><br>
<info><br>
- BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files. Use the BBMASK variable from within conf/local.conf."<br>
+ BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files."<br>
</info><br>
<glossdef><br>
<para role="glossdeffirst"><br>
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --><br>
Prevents BitBake from processing recipes and recipe<br>
append files.<br>
- Use the <filename>BBMASK</filename> variable from within the<br>
- <filename>conf/local.conf</filename> file found<br>
- in the<br>
- <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>.<br>
</para><br>
<br>
<para><br>
@@ -1218,14 +1214,14 @@<br>
to "hide" these <filename>.bb</filename> and<br>
<filename>.bbappend</filename> files.<br>
BitBake ignores any recipe or recipe append files that<br>
- match the expression.<br>
+ match any of the expressions.<br>
It is as if BitBake does not see them at all.<br>
Consequently, matching files are not parsed or otherwise<br>
used by BitBake.</para><br>
<para><br>
- The value you provide is passed to Python's regular<br>
+ The values you provide are passed to Python's regular<br>
expression compiler.<br>
- The expression is compared against the full paths to<br>
+ The expressions are compared against the full paths to<br>
the files.<br>
For complete syntax information, see Python's<br>
documentation at<br>
@@ -1241,18 +1237,16 @@<br>
BBMASK = "meta-ti/recipes-misc/"<br>
</literallayout><br>
If you want to mask out multiple directories or recipes,<br>
- use the vertical bar to separate the regular expression<br>
- fragments.<br>
+ you can specify multiple regular expression fragments.<br>
This next example masks out multiple directories and<br>
individual recipes:<br>
<literallayout class='monospaced'><br>
- BBMASK = "meta-ti/recipes-misc/|meta-ti/recipes-ti/packagegroup/"<br>
- BBMASK .= "|.*meta-oe/recipes-support/"<br>
- BBMASK .= "|.*openldap"<br>
- BBMASK .= "|.*opencv"<br>
- BBMASK .= "|.*lzma"<br>
+ BBMASK += "/meta-ti/recipes-misc/ meta-ti/recipes-ti/packagegroup/"<br>
+ BBMASK += "/meta-oe/recipes-support/"<br>
+ BBMASK += "/meta-foo/.*/openldap"<br>
+ BBMASK += "opencv.*\.bbappend"<br>
+ BBMASK += "lzma"<br>
</literallayout><br>
- Notice how the vertical bar is used to append the fragments.<br>
<note><br>
When specifying a directory name, use the trailing<br>
slash character to ensure you match just that directory<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.1.0<br>
<br>
--<br>
_______________________________________________<br>
poky mailing list<br>
<a href="mailto:poky@yoctoproject.org">poky@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/poky" rel="noreferrer" target="_blank">https://lists.yoctoproject.org/listinfo/poky</a><br>
</font></span></blockquote></div><br></div>