[yocto] docs: standardizing on "+=" versus "_append" for clarity

Robert Berger gmane at reliableembeddedsystems.com
Wed May 4 14:59:01 PDT 2016



Hi,

On 05/04/2016 02:20 PM, Robert P. J. Day wrote:>
> i understand that there are times when you *want* _append to delay
> processing until the end, and i understand that conditional appending
> with OVERRIDES requires the "_append" syntax, but other than these
> special cases, is there an encouraged standard to use "+=" if either
> syntax will do?

That's my understanding:

_append (override style syntax):

append without spaces,
differs from :=,.=,=.,+=,=+ because assignment is deferred until after
parsing,
can be used with executable meta data

.= :

appending without spaces, immediate assignment

+= :

appending with spaces, immediate assignment

All of them have left and right hand side variable expansion recursive
when used.


>
> rday
>

Regards,

Robert
..."C++ is an horrible language" - Linux Torvalds

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1





More information about the yocto mailing list