On 22 July 2014 14:58, Roxana Ciobanu <[email protected]> wrote: > +BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
Thinking about this some more we probably need the assignments in bitbake.conf to be ??=, or to be moved further down the file to after local.conf has been evaluated (there's a section marked Weak Assignments, for exactly this situation). The reasoning being that existing local.conf files will likely have e.g. BB_NUMBER_THREADS ?= 8 and the expectation is that this assignment will work. If bitbake.conf before local.conf has been loaded uses ?= then it will assign as the value hasn't been set, so then when local.conf is parsed the value has already been assigned and that assignment won't have an effect. For consistency with the other variables that have moved to bitbake.conf, I think we should move it to the weak variables section in bitbake.conf and keep using ?=. Ross -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
