diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml index e5aeffcffb..ae7e4cee8c 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml | |||
@@ -1142,14 +1142,14 @@ | |||
1142 | to "hide" these <filename>.bb</filename> and | 1142 | to "hide" these <filename>.bb</filename> and |
1143 | <filename>.bbappend</filename> files. | 1143 | <filename>.bbappend</filename> files. |
1144 | BitBake ignores any recipe or recipe append files that | 1144 | BitBake ignores any recipe or recipe append files that |
1145 | match the expression. | 1145 | match any of the expressions. |
1146 | It is as if BitBake does not see them at all. | 1146 | It is as if BitBake does not see them at all. |
1147 | Consequently, matching files are not parsed or otherwise | 1147 | Consequently, matching files are not parsed or otherwise |
1148 | used by BitBake.</para> | 1148 | used by BitBake.</para> |
1149 | <para> | 1149 | <para> |
1150 | The value you provide is passed to Python's regular | 1150 | The values you provide are passed to Python's regular |
1151 | expression compiler. | 1151 | expression compiler. |
1152 | The expression is compared against the full paths to | 1152 | The expressions are compared against the full paths to |
1153 | the files. | 1153 | the files. |
1154 | For complete syntax information, see Python's | 1154 | For complete syntax information, see Python's |
1155 | documentation at | 1155 | documentation at |
@@ -1165,18 +1165,16 @@ | |||
1165 | BBMASK = "meta-ti/recipes-misc/" | 1165 | BBMASK = "meta-ti/recipes-misc/" |
1166 | </literallayout> | 1166 | </literallayout> |
1167 | If you want to mask out multiple directories or recipes, | 1167 | If you want to mask out multiple directories or recipes, |
1168 | use the vertical bar to separate the regular expression | 1168 | you can specify multiple regular expression fragments. |
1169 | fragments. | ||
1170 | This next example masks out multiple directories and | 1169 | This next example masks out multiple directories and |
1171 | individual recipes: | 1170 | individual recipes: |
1172 | <literallayout class='monospaced'> | 1171 | <literallayout class='monospaced'> |
1173 | BBMASK = "meta-ti/recipes-misc/|meta-ti/recipes-ti/packagegroup/" | 1172 | BBMASK += "/meta-ti/recipes-misc/ meta-ti/recipes-ti/packagegroup/" |
1174 | BBMASK .= "|.*meta-oe/recipes-support/" | 1173 | BBMASK += "/meta-oe/recipes-support/" |
1175 | BBMASK .= "|.*openldap" | 1174 | BBMASK += "/meta-foo/.*/openldap" |
1176 | BBMASK .= "|.*opencv" | 1175 | BBMASK += "opencv.*\.bbappend" |
1177 | BBMASK .= "|.*lzma" | 1176 | BBMASK += "lzma" |
1178 | </literallayout> | 1177 | </literallayout> |
1179 | Notice how the vertical bar is used to append the fragments. | ||
1180 | <note> | 1178 | <note> |
1181 | When specifying a directory name, use the trailing | 1179 | When specifying a directory name, use the trailing |
1182 | slash character to ensure you match just that directory | 1180 | slash character to ensure you match just that directory |