Am 12.08.2007 um 00:18 schrieb Richard Purdie:
> Say you have this in a .bb file:
>
> OVERRIDES = "xyz"
> SOMEVAR = "1"
> SOMEVAR_xyz = "2"
> SOMENEWVAR := "${SOMEVAR}"
>
> bitbake says SOMENEWVAR is 1 (SOMEVAR is 2)
>
> Should SOMENEWVAR be 2? I suspect the answer is yes...
Hi Richard,
I don't think this is a recent regression. What I can say is that
bb.data.update_data (or whatever this method was called) is a
relative cheap operation. So technically there would be nothing
preventing us from adding it.
I'm certain that we will see funny/unexpected things with the OE
metadata when calling update_data on immediate assignments, so if you/
we decide to do it I would propose the following strategy.
Use the existing bitbake and pickle/dump each parsed file, then use
the new bitbake and pickle/dump each parsed file as well. Then run a
small algorithm (I think I have comitted it to bb.data) to diff two
smart_data dictionaries.
I think it is fine to change that, specially as update_data is quite
cheap nowadays, but I would like to see the difference in our metadata.
z.
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev