[OE-core] Changing variable value between tasks

Richard Purdie richard.purdie at linuxfoundation.org
Tue Nov 1 18:36:00 UTC 2011


On Tue, 2011-11-01 at 18:22 +0000, Daniel Lazzari wrote:
> I was wondering if there’s a way to override a variable’s value
> specifically for a single task.

There is indeed. As an example:

$ cat meta/conf/bitbake.conf | grep PARALLEL
EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} "

which overrides EXTRA_OEMAKE for the compile task.

Cheers,

RIchard





More information about the Openembedded-core mailing list