[OE-core] RDEPENDS_${PN} and virtclass-native

Richard Purdie richard.purdie at linuxfoundation.org
Tue May 31 23:04:03 UTC 2011


On Thu, 2011-05-26 at 01:59 +0100, Richard Purdie wrote:
> Of course its not that simple. I just discovered:
> 
> OVERRIDES = "z"
> DEPENDS_prepend = "a "
> DEPENDS = "b"
> DEPENDS_z = "c"
> 
> d.update_data()
> d.getVar("DEPENDS") gives "a c"
> d.update_data()
> d.getVar("DEPENDS") gives "c"
> 
> since the _prepend is lost after the update_data(), the _z override is
> not and so the second call overwrites all of DEPENDS.
> 
> We've talked before how overrides should really renameVar, not just copy
> contents. Obviously there are a lot of subtleties to this though and we
> can't just switch due to backwards compatibility :/
> 
> Depending on the number of update_data() calls is truly horrible
> behaviour though :(

I've looked into this and started an RFC thread over on the
bitbake-devel list:

http://lists.linuxtogo.org/pipermail/bitbake-devel/2011-June/000903.html

Cheers,

Richard





More information about the Openembedded-core mailing list