Hi

Trying to figure out the expected behavior of variable assignments.

FOO = bar
BAR_bar = 1
BAR_${FOO} = 2
BAR_bar = 3
BAR_${FOO} = 4
BAR_bar = 5

gives

BAR_bar = "4"

Where/when is the variable names being expanded?

And wouldn't it make more sense if variable names were expanded
immediately, so that the above code would produce BAR_bar="5" ?
I at least would find it less surprising.

Of-course, this would be a change in semantics, but the fallout might be
minimal, and it should be possible to check for it given specific
meta-data.

/Esben
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to