[yocto] [RFC PATCH 0/9] New distribution definition for poky-tiny

McClintock Matthew-B29882 B29882 at freescale.com
Tue Dec 27 16:50:50 PST 2011


On Wed, Dec 21, 2011 at 11:33 AM, Chris Larson <kergoth at gmail.com> wrote:
>>> problem with the := + oe_filter_out method is that it forces an
>>> immediate variable expansion right there, which can cause problems in
>>> some cases.
>>
>> Right. That and using it in a .conf file results in parsing errors. :-)
>
> := is *technically* perfectly valid in a .conf file, as is
> oe_filter_out, but it's so sensitive to location as to be of limited
> usefulness. All the variables used by the var you're expanding would
> have to have been defined already as of that point in the config.

Also using := is bad for sstate-cache has it expands variables
immediately and often these include references to paths/machines/etc
that will change for each build. For me so far, using := also means
removing the variable in question from all dependencies....

-M



More information about the yocto mailing list