bitbake-user-manual: Correct description for _append/_prepend/_remove
PATCH 1/2 bitbake-user-manual: Correct description for _append/_prepend/_remove
The effects of _append/_prepend/_remove are applied when a variable is expanded, not after parsing has completed.
Signed-off-by Jacob Kroon <[email protected]>
--- doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +3 -4
@@ -369,9 +369,8 @@ <para> These operators differ from the ":=", ".=", "=.", "+=", and "=+" - operators in that their effects are deferred - until after parsing completes rather than being immediately - applied. + operators in that their effects are applied at variable + expansion time rather than being immediately applied. Here are some examples: <literallayout class='monospaced'> B = "bval"
@@ -435,7 +434,7 @@ <para> Like "_append" and "_prepend", "_remove" - is deferred until after parsing completes. + is applied at variable expansion time. </para> </section>
Signature · 1 line
2.21.0
PATCH 2/2 bitbake-user-manual: key-expansion: Don't refer to overrides
Nowadays bitbake applies overrides dynamically, not at a single specific point in time during parsing.
Signed-off-by Jacob Kroon <[email protected]>
--- doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +3 -5
@@ -799,17 +799,15 @@ <title>Key Expansion</title> <para> - Key expansion happens when the BitBake datastore is finalized - just before BitBake expands overrides. + Key expansion happens when the BitBake datastore is finalized. To better understand this, consider the following example: <literallayout class='monospaced'> A${B} = "X" B = "2" A2 = "Y" </literallayout> - In this case, after all the parsing is complete, and - before any overrides are handled, BitBake expands - <filename>${B}</filename> into "2". + In this case, after all the parsing is complete, + BitBake expands <filename>${B}</filename> into "2". This expansion causes <filename>A2</filename>, which was set to "Y" before the expansion, to become "X". </para>
Signature · 1 line
2.21.0