Re: Specifying different make flags for different tasks.

Alex Gonzalez

Hi Chris,

Yes, that would be exactly what I want, except that it' not working for me.

Probably something obvious, but just in case, any reason why this
should not work in denzil?


On Mon, Dec 17, 2012 at 4:24 PM, Chris Larson <clarson@...> wrote:

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

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

Join to automatically receive all group messages.