On Mon, Dec 17, 2012 at 1:36 AM, Alex Gonzalez <a...@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
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to