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>
This commit is contained in:
parent
41b49cadd3
commit
f0e73a4b65
|
@ -86,6 +86,17 @@
|
||||||
<link linkend='immediate-variable-expansion'>immediate variable expansion</link>
|
<link linkend='immediate-variable-expansion'>immediate variable expansion</link>
|
||||||
operator (i.e. ":=").
|
operator (i.e. ":=").
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If the variable expansion syntax is used on a variable that
|
||||||
|
does not exist, the string is kept as is.
|
||||||
|
For example, given the following assignment,
|
||||||
|
<filename>BAR</filename> expands to the literal string
|
||||||
|
"${FOO}" as long as <filename>FOO</filename> does not exist.
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
BAR = "${FOO}"
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='setting-a-default-value'>
|
<section id='setting-a-default-value'>
|
||||||
|
|
Loading…
Reference in New Issue