[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] RDEPENDS_${PN} and virtclass-native
From: richard.purdie () linuxfoundation ! org (Richard Purdie)
Date: 2011-05-31 23:04:03
Message-ID: 1306883043.27470.403.camel () rex
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic