From 4f3ef90ae1db877541e7d3adee70228b0b7fa949 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 27 Jan 2016 15:15:18 -0800 Subject: [PATCH] ref-manual: Updated the BBMASK variable description. (From yocto-docs rev: 0ae8d79993eef08c659e609af7e0afa09dcb9158) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 26 +++++++++------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 673e4314c4..49aea7a147 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -1200,17 +1200,13 @@ BBMASK - BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files. Use the BBMASK variable from within conf/local.conf." + BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files." Prevents BitBake from processing recipes and recipe append files. - Use the BBMASK variable from within the - conf/local.conf file found - in the - Build Directory. @@ -1218,14 +1214,14 @@ to "hide" these .bb and .bbappend files. BitBake ignores any recipe or recipe append files that - match the expression. + match any of the expressions. It is as if BitBake does not see them at all. Consequently, matching files are not parsed or otherwise used by BitBake. - The value you provide is passed to Python's regular + The values you provide are passed to Python's regular expression compiler. - The expression is compared against the full paths to + The expressions are compared against the full paths to the files. For complete syntax information, see Python's documentation at @@ -1241,18 +1237,16 @@ BBMASK = "meta-ti/recipes-misc/" If you want to mask out multiple directories or recipes, - use the vertical bar to separate the regular expression - fragments. + you can specify multiple regular expression fragments. This next example masks out multiple directories and individual recipes: - BBMASK = "meta-ti/recipes-misc/|meta-ti/recipes-ti/packagegroup/" - BBMASK .= "|.*meta-oe/recipes-support/" - BBMASK .= "|.*openldap" - BBMASK .= "|.*opencv" - BBMASK .= "|.*lzma" + BBMASK += "/meta-ti/recipes-misc/ meta-ti/recipes-ti/packagegroup/" + BBMASK += "/meta-oe/recipes-support/" + BBMASK += "/meta-foo/.*/openldap" + BBMASK += "opencv.*\.bbappend" + BBMASK += "lzma" - Notice how the vertical bar is used to append the fragments. When specifying a directory name, use the trailing slash character to ensure you match just that directory