[bitbake-devel] still confused about _append and OVERRIDES and = and +=, argh
Robert P. J. Day
rpjday at crashcourse.ca
Tue Jan 1 19:51:50 UTC 2013
On Tue, 1 Jan 2013, Chris Larson wrote:
>
>
> On Tue, Jan 1, 2013 at 7:12 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> again, so far, so good -- the second override superseded the first,
> correct?
>
> test 4:
>
> BLAH = "A"
> BLAH_rday = "B"
> BLAH_rday_append = "C"
>
> $ bitbake-env BLAH
> BLAH="B"
> $
>
> ????? that confuses me. according to section 2.2.1 in bitbake
> manual (very first example):
>
>
> OVERRIDES = "foo"
>
> A_foo_append = "X"
>
> "In this case, X is unconditionally appended to the variable A_foo.
> Since foo is an override, A_foo would then replace A."
>
> according to that, i should expect BLAH to have the value "BC", no?
>
>
> Yeah, as far as I'm aware that's what should have happened, but as
> you noticed, this form is extremely unusual.
now that i look at it, i don't think i know of *any* usage of the
form VAR_<override>_append. is it actually used anywhere? if not,
i'm just going to omit talking about it in future classes.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the bitbake-devel
mailing list