summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-01-27 15:15:18 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-29 17:04:48 +0000
commit4f3ef90ae1db877541e7d3adee70228b0b7fa949 (patch)
treec18319e3ac37bd9beaef11490083cca7811a883e /documentation
parentb2b72143ab6f4c1e6b7935f233202ad221b373e2 (diff)
downloadpoky-4f3ef90ae1db877541e7d3adee70228b0b7fa949.tar.gz
ref-manual: Updated the BBMASK variable description.
(From yocto-docs rev: 0ae8d79993eef08c659e609af7e0afa09dcb9158) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml26
1 files 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 @@
1200 1200
1201 <glossentry id='var-BBMASK'><glossterm>BBMASK</glossterm> 1201 <glossentry id='var-BBMASK'><glossterm>BBMASK</glossterm>
1202 <info> 1202 <info>
1203 BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files. Use the BBMASK variable from within conf/local.conf." 1203 BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files."
1204 </info> 1204 </info>
1205 <glossdef> 1205 <glossdef>
1206 <para role="glossdeffirst"> 1206 <para role="glossdeffirst">
1207<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> 1207<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
1208 Prevents BitBake from processing recipes and recipe 1208 Prevents BitBake from processing recipes and recipe
1209 append files. 1209 append files.
1210 Use the <filename>BBMASK</filename> variable from within the
1211 <filename>conf/local.conf</filename> file found
1212 in the
1213 <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>.
1214 </para> 1210 </para>
1215 1211
1216 <para> 1212 <para>
@@ -1218,14 +1214,14 @@
1218 to "hide" these <filename>.bb</filename> and 1214 to "hide" these <filename>.bb</filename> and
1219 <filename>.bbappend</filename> files. 1215 <filename>.bbappend</filename> files.
1220 BitBake ignores any recipe or recipe append files that 1216 BitBake ignores any recipe or recipe append files that
1221 match the expression. 1217 match any of the expressions.
1222 It is as if BitBake does not see them at all. 1218 It is as if BitBake does not see them at all.
1223 Consequently, matching files are not parsed or otherwise 1219 Consequently, matching files are not parsed or otherwise
1224 used by BitBake.</para> 1220 used by BitBake.</para>
1225 <para> 1221 <para>
1226 The value you provide is passed to Python's regular 1222 The values you provide are passed to Python's regular
1227 expression compiler. 1223 expression compiler.
1228 The expression is compared against the full paths to 1224 The expressions are compared against the full paths to
1229 the files. 1225 the files.
1230 For complete syntax information, see Python's 1226 For complete syntax information, see Python's
1231 documentation at 1227 documentation at
@@ -1241,18 +1237,16 @@
1241 BBMASK = "meta-ti/recipes-misc/" 1237 BBMASK = "meta-ti/recipes-misc/"
1242 </literallayout> 1238 </literallayout>
1243 If you want to mask out multiple directories or recipes, 1239 If you want to mask out multiple directories or recipes,
1244 use the vertical bar to separate the regular expression 1240 you can specify multiple regular expression fragments.
1245 fragments.
1246 This next example masks out multiple directories and 1241 This next example masks out multiple directories and
1247 individual recipes: 1242 individual recipes:
1248 <literallayout class='monospaced'> 1243 <literallayout class='monospaced'>
1249 BBMASK = "meta-ti/recipes-misc/|meta-ti/recipes-ti/packagegroup/" 1244 BBMASK += "/meta-ti/recipes-misc/ meta-ti/recipes-ti/packagegroup/"
1250 BBMASK .= "|.*meta-oe/recipes-support/" 1245 BBMASK += "/meta-oe/recipes-support/"
1251 BBMASK .= "|.*openldap" 1246 BBMASK += "/meta-foo/.*/openldap"
1252 BBMASK .= "|.*opencv" 1247 BBMASK += "opencv.*\.bbappend"
1253 BBMASK .= "|.*lzma" 1248 BBMASK += "lzma"
1254 </literallayout> 1249 </literallayout>
1255 Notice how the vertical bar is used to append the fragments.
1256 <note> 1250 <note>
1257 When specifying a directory name, use the trailing 1251 When specifying a directory name, use the trailing
1258 slash character to ensure you match just that directory 1252 slash character to ensure you match just that directory