[bitbake-devel] RFC: Override expansion - changing the behaviour

Joshua Lock josh at linux.intel.com
Tue Jun 7 22:10:03 UTC 2011


On Wed, 2011-06-01 at 00:00 +0100, Richard Purdie wrote:
> Currently if you do:
> 
> 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"
> 
> I'm proposing we should change the bitbake behaviour such that at the
> time bitbake expands the DEPENDS_z override, it removes "DEPENDS_z" from
> the data store.

FWIW I think this change is absolutely the right thing to do. The
current behaviour always catches me out (and I hope I'm not alone) and
changing it as suggested makes the behaviour much less surprising.

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Centre





More information about the bitbake-devel mailing list