diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-04-30 12:52:49 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-19 09:05:21 +0100 |
commit | 32ee30a46d5e27ffcb0f18d85a0768bd22adca94 (patch) | |
tree | 711b1253359d62d29586ae8b362eac4e7ef7f859 /bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml | |
parent | 90bc9b4f3342c41e4f9c20a6f0f8e69b8ed4bce3 (diff) | |
download | poky-32ee30a46d5e27ffcb0f18d85a0768bd22adca94.tar.gz |
bitbake: Provide LAYERDIR_RE for layer.conf
This variable is a regex-escaped version of LAYERDIR, for safer use in
BBFILE_PATTERN, so as to avoid issues with regex special characters in the
layer path.
[YOCTO #8402]
(Bitbake rev: 72900522778b6ff08b135bf8bb97dff3f1a20bd9)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml index f6d82b4f3f..8b7edbff54 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml | |||
@@ -399,7 +399,7 @@ ERROR: Unable to parse base: ParseError in configuration INHERITs: Could not inh | |||
399 | <link linkend='var-BBFILES'>BBFILES</link> += "${LAYERDIR}/*.bb" | 399 | <link linkend='var-BBFILES'>BBFILES</link> += "${LAYERDIR}/*.bb" |
400 | 400 | ||
401 | <link linkend='var-BBFILE_COLLECTIONS'>BBFILE_COLLECTIONS</link> += "mylayer" | 401 | <link linkend='var-BBFILE_COLLECTIONS'>BBFILE_COLLECTIONS</link> += "mylayer" |
402 | <link linkend='var-BBFILE_PATTERN'>BBFILE_PATTERN_mylayer</link> := "^${LAYERDIR}/" | 402 | <link linkend='var-BBFILE_PATTERN'>BBFILE_PATTERN_mylayer</link> := "^${LAYERDIR_RE}/" |
403 | </literallayout> | 403 | </literallayout> |
404 | For information on these variables, click the links | 404 | For information on these variables, click the links |
405 | to go to the definitions in the glossary.</para> | 405 | to go to the definitions in the glossary.</para> |