New Bitbake Syntax Brainstorm: Difference between revisions

From Openembedded.org
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''NOTE:''' This page is only intended for brainstorming bitbake syntax changes and is not an official description of anything will be done
{| border=1
{| border=1
! Example !! Expands To !! Description
! Example !! Expands To !! Description
Line 10: Line 13:
| <tt>FOO_o_append = "bar" </tt> || <tt>FOO_o_append = "bar"</tt> || 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_append_o = "bar"</tt> || Append "bar" to 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>FOO_o_defvar_append = " bar"</tt> || Append " bar" to the default value of FOO_o
|}
|}

Latest revision as of 18:37, 14 July 2021

NOTE: This page is only intended for brainstorming bitbake syntax changes and is not an official description of anything will be done


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_o_defvar_append = " bar" Append " bar" to the default value of FOO_o