[yocto] Specifying different make flags for different tasks.

Alex Gonzalez alex at lindusembedded.com
Mon Dec 17 08:47:37 PST 2012


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?

Thanks,
Alex

On Mon, Dec 17, 2012 at 4:24 PM, Chris Larson <clarson at kergoth.com> wrote:
>
>
> 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



More information about the yocto mailing list