Difference between revisions of "New Bitbake Syntax Brainstorm"
From Openembedded.org
JPEWhacker (talk | contribs) |
JPEWhacker (talk | contribs) |
||
Line 12: | Line 12: | ||
| <tt>FOO_append_o = "bar" </tt> || <tt>FOO_append_o = "bar"</tt> || Append "bar" to any value of FOO if o is in OVERRIDES | | <tt>FOO_append_o = "bar" </tt> || <tt>FOO_append_o = "bar"</tt> || Append "bar" to any value of FOO if o is in OVERRIDES | ||
|- | |- | ||
− | | <tt>FOO_o += "bar"</tt> || <tt> | + | | <tt>FOO_o += "bar"</tt> || <tt>FOO_defvar_append_o = " bar"</tt> || Append " bar" to the default value if o is in OVERRIDES |
|} | |} |
Revision as of 18:22, 14 July 2021
Example | Expands To | Description |
---|---|---|
FOO += "bar" | FOO_defvar_append = " bar" | Append " bar" to the default value |
FOO ??= "bar" | FOO_weakval = "bar" | Set the weakest override value to "bar" |
FOO_append = "bar" | FOO_append = "bar" | Append "bar" to any value of FOO |
FOO_o_append = "bar" | FOO_o_append = "bar" | Append "bar" to FOO_o |
FOO_append_o = "bar" | FOO_append_o = "bar" | Append "bar" to any value of FOO if o is in OVERRIDES |
FOO_o += "bar" | FOO_defvar_append_o = " bar" | Append " bar" to the default value if o is in OVERRIDES |