Difference between revisions of "New Bitbake Syntax Brainstorm"
From Openembedded.org
JPEWhacker (talk | contribs) (Created page with "{| border=1 ! Example !! Expands To !! Description |- | <tt>FOO += "bar"</tt> || <tt>FOO_defvar_append = " bar"</tt> || Append " bar" to the default value |- | <tt>FOO ??= "ba...") |
JPEWhacker (talk | contribs) |
||
Line 6: | Line 6: | ||
| <tt>FOO ??= "bar"</tt> || <tt>FOO_weakval = "bar"</tt> || Set the weakest override value to "bar" | | <tt>FOO ??= "bar"</tt> || <tt>FOO_weakval = "bar"</tt> || Set the weakest override value to "bar" | ||
|- | |- | ||
− | | <tt>FOO_append = "bar"</tt> || <tt>FOO_defvar_append = "bar" || Append "bar" to the default value | + | | <tt>FOO_append = "bar"</tt> || <tt>FOO_defvar_append = "bar"</tt> || Append "bar" to the default value |
|- | |- | ||
− | | <tt>FOO_o_append = "bar" </tt> || <tt>FOO_o_append = "bar" || Append "bar" to FOO_o | + | | <tt>FOO_o_append = "bar" </tt> || <tt>FOO_o_append = "bar"</tt> || Append "bar" to FOO_o |
|- | |- | ||
− | | <tt>FOO_append_o = "bar" </tt> || <tt>FOO_defvar_append_o = "bar" || Append "bar" to default value if o is in OVERRIDES | + | | <tt>FOO_append_o = "bar" </tt> || <tt>FOO_defvar_append_o = "bar"</tt> || Append "bar" to default value if o is in OVERRIDES |
|} | |} |
Revision as of 17:55, 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_defvar_append = "bar" | Append "bar" to the default value |
FOO_o_append = "bar" | FOO_o_append = "bar" | Append "bar" to FOO_o |
FOO_append_o = "bar" | FOO_defvar_append_o = "bar" | Append "bar" to default value if o is in OVERRIDES |