| Summary: |
Cover variable references not being expanded in python functions |
| Product: |
[Documentation] BitBake User Manual
|
Reporter: |
Paul Eggleton <bluelightning> |
| Component: |
bitbake-manual | Assignee: |
Scott Rifenbark <srifenbark> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Francisco Pedraza <francisco.j.pedraza.gonzalez> |
| Severity: |
enhancement
|
|
|
| Priority: |
Medium+
|
CC: |
alexandru.c.georgescu, sgw, srifenbark
|
| Version: |
unspecified | |
|
| Target Milestone: |
2.1 M3 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
3 March 2016: RESOLVED |
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
Done (doc changes complete)
|
In "BitBake Style Python Functions", could you please add a note box with the following content: Variable expressions e.g. ${X} are no longer expanded within Python functions. This is intentional in order to allow you to freely set variable values to expandable expressions without having them expanded prematurely. If you do wish to expand a variable within a Python function, use d.getVar("X", True), or for more complicated expressions use d.expand().