| Summary: | Mention what happens when non-existent variables are expanded | ||
|---|---|---|---|
| Product: | [Documentation] BitBake User Manual | Reporter: | ulfalizer |
| Component: | bitbake-manual | Assignee: | Scott Rifenbark <srifenbark> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | bluelightning, srifenbark |
| Version: | 2.2 | ||
| Target Milestone: | 2.2 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | 22 July 2016: IN PROGRESS REVIEW | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Done (doc changes complete) | |
Version 2:
If the variable expansion syntax is used on a variable that
does not exist, the string is kept as is. For example, if FOO
does not exist, the following assignment will make BAR expand
to the literal string "${FOO}":
BAR = "${FOO}"
Final version:
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, BAR
will expand to the literal string "${FOO}" as long as FOO does not exist.
BAR = "${FOO}"
Ulf, See http://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#variable-expansion for the new addition. Thanks, Scott Looks good. Thanks! Cheers, Ulf Thanks... closing |
Hello, I suggest adding the following to the end of 3.1.2. Variable Expansion: If the variable expansion syntax is used on a variable that does not exist, the string is kept as is. For example, if FOO does not exist, the following assignment will set BAR to the literal string "${FOO}": BAR = "${FOO}" Cheers, Ulf