<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 1, 2013 at 7:12 AM, Robert P. J. Day <span dir="ltr"><<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":78"> again, so far, so good -- the second override superseded the first,<br>
correct?<br>
<br>
test 4:<br>
<br>
BLAH = "A"<br>
BLAH_rday = "B"<br>
BLAH_rday_append = "C"<br>
<br>
$ bitbake-env BLAH<br>
BLAH="B"<br>
$<br>
<br>
????? that confuses me. according to section 2.2.1 in bitbake<br>
manual (very first example): </div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":78">
<br>
OVERRIDES = "foo"<br>
<br>
A_foo_append = "X"<br>
<br>
"In this case, X is unconditionally appended to the variable A_foo.<br>
Since foo is an override, A_foo would then replace A."<br>
<br>
according to that, i should expect BLAH to have the value "BC", no?<br></div></blockquote><div><br></div><div style>Yeah, as far as I'm aware that's what should have happened, but as you noticed, this form is extremely unusual. Usually if one wants to do this, they just use an immediate operator like .= or += instead of _append. Sounds like a bitbake "bug", but one that one is unlikely to hit in practice. Honestly, we should really cut back on the overuse of _append and _prepend in general, as a janitorial task, if for no other reason than to reduce confusion :)</div>
</div>-- <br>Christopher Larson</div></div>