diff options
| author | Scott Rifenbark <srifenbark@gmail.com> | 2016-07-22 08:36:09 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-02 15:22:15 +0100 |
| commit | f0e73a4b65b8632bf9c9642faf8e1b22a628d88e (patch) | |
| tree | 14424d3101caa5d0fc65195a50d36dca62d53973 | |
| parent | 41b49cadd3367b3afea6c30758f40c996bf9a97e (diff) | |
| download | poky-f0e73a4b65b8632bf9c9642faf8e1b22a628d88e.tar.gz | |
bitbake: bitbake-user-manual: Added non-existant variable expansion
Fixes [YOCTO #10003]
I added a small paragraph explaining what happens when expansion
of a variable that does not exist occurs.
(Bitbake rev: 8006da3f229d0227215ccd59cd273edacf72f9ce)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 11 |
1 files changed, 11 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 fe04103dae..ce0e84db02 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | |||
| @@ -86,6 +86,17 @@ | |||
| 86 | <link linkend='immediate-variable-expansion'>immediate variable expansion</link> | 86 | <link linkend='immediate-variable-expansion'>immediate variable expansion</link> |
| 87 | operator (i.e. ":="). | 87 | operator (i.e. ":="). |
| 88 | </para> | 88 | </para> |
| 89 | |||
| 90 | <para> | ||
| 91 | If the variable expansion syntax is used on a variable that | ||
| 92 | does not exist, the string is kept as is. | ||
| 93 | For example, given the following assignment, | ||
| 94 | <filename>BAR</filename> expands to the literal string | ||
| 95 | "${FOO}" as long as <filename>FOO</filename> does not exist. | ||
| 96 | <literallayout class='monospaced'> | ||
| 97 | BAR = "${FOO}" | ||
| 98 | </literallayout> | ||
| 99 | </para> | ||
| 89 | </section> | 100 | </section> |
| 90 | 101 | ||
| 91 | <section id='setting-a-default-value'> | 102 | <section id='setting-a-default-value'> |
