[yocto] Specifying different make flags for different tasks.

Chris Larson clarson at kergoth.com
Mon Dec 17 07:24:45 PST 2012


On Mon, Dec 17, 2012 at 1:36 AM, Alex Gonzalez <alex at lindusembedded.com>wrote:

> I am using EXTRA_OEMAKE to pass extra flags to make.
>
> How can I pass different flags for different tasks?
>
> In this case I am compiling an external kernel module and I need
> different make flags for the do_make_scripts and do_compile tasks. If
> I set EXTRA_OEMAKE in the recipe, all tasks use the same make flags.
>

You could use the task-<taskname> override. E.g.:

EXTRA_OEMAKE_append_task-do_compile = " FOO=bar"
-- 
Christopher Larson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121217/3feb5b29/attachment.html>


More information about the yocto mailing list