diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2016-01-27 18:23:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-29 17:03:53 +0000 |
commit | d61d290ad7e2f1d3e15261468f9be0961c3b6a25 (patch) | |
tree | 2f29f1975d58236ebbbb07d1ed0758b3a87c6fc8 /bitbake/doc | |
parent | a948f5252a93ee474aa8ece418b29c0e85c815ce (diff) | |
download | poky-d61d290ad7e2f1d3e15261468f9be0961c3b6a25.tar.gz |
bitbake: bitbake-user-manual-ref-variables: Update the help for BBMASK
Update the help for BBMASK to reflect that it is now allowed to
contain multiple regular expressions. Also changed the examples for
BBMASK to be a bit more diverse.
(Bitbake rev: 023a5b69df05adce0ed192b393b45eb879c096a0)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
-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 |