diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-04-14 17:56:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-21 23:03:19 +0100 |
commit | f1b9c7ea32539180d236cf977aac2eb975afe260 (patch) | |
tree | 1464fbf76fc0f6504d9226a5b429118a4530b00c /bitbake/doc | |
parent | ef7fac5bba0fc9dcd12f8bdd1a4e0fd0c3576e00 (diff) | |
download | poky-f1b9c7ea32539180d236cf977aac2eb975afe260.tar.gz |
bitbake: bitbake-user-manual-metadata.xml: Added section on pathname syntax
Added a brief subsection to the "Basic Syntax" section that
describes the issue using the tilde character (~) when providing
a pathname as part of a statement. BitBake does not expand
this character like the shell does. We recommend to not use
it in pathnames.
(Bitbake rev: 8e4c5cee932c3f38d4147c59612d76ca0b002727)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.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-metadata.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index 5304e40ce7..a9f5072128 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | |||
@@ -301,6 +301,29 @@ | |||
301 | variable becoming the current date. | 301 | variable becoming the current date. |
302 | </para> | 302 | </para> |
303 | </section> | 303 | </section> |
304 | |||
305 | <section id='providing-pathnames'> | ||
306 | <title>Providing Pathnames</title> | ||
307 | |||
308 | <para> | ||
309 | When specifying pathnames for use with BitBake, | ||
310 | do not use the tilde ("~") character as a shortcut | ||
311 | for your home directory. | ||
312 | Doing so might cause BitBake to not recognize the | ||
313 | path since BitBake does not expand this character in | ||
314 | the same way a shell would. | ||
315 | </para> | ||
316 | |||
317 | <para> | ||
318 | Instead, provide a fuller path as the following | ||
319 | example illustrates: | ||
320 | <literallayout class='monospaced'> | ||
321 | BBLAYERS ?= " \ | ||
322 | /home/scott-lenovo/LayerA \ | ||
323 | " | ||
324 | </literallayout> | ||
325 | </para> | ||
326 | </section> | ||
304 | </section> | 327 | </section> |
305 | 328 | ||
306 | <section id='conditional-syntax-overrides'> | 329 | <section id='conditional-syntax-overrides'> |