[oe] Metadata Q/A (was: Another weird case of PACKAGES_DYNAMIC and task deps, it seems)

Michael 'Mickey' Lauer mickey at vanille-media.de
Mon Jan 7 22:52:36 UTC 2008


Richard Purdie wrote:
> On Mon, 2008-01-07 at 20:44 +0000, Richard Purdie wrote:
>> My money is on:
>> 
>> DEPENDS_collie += "bc-native"
>> 
>> in linux-rp.inc. Try removing that...

> Confirmed and fixed in 00610b176af0e4f4563f78fb71dc1219c777d13e.

> Let me stress once again, += and overrides do not do what you expect. It
> adds "bc_native" to the variable named "DEPENDS_collie", not "DEPENDS".

> DEPENDS_append_collie = " bc-native" 

> is a very different thing and corrects this problem...

Can we

a) forbid variable assignment to foo_bar in general (when bar is not
in {append, prepend, <override>} ?

b) have an extra Q/A class that scans the metadata for those kinds of
problems?

Regards,

:M:

-- 
Dr. Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de





More information about the Openembedded-devel mailing list