Re: [PATCH 7/8] kbuild: move W=... stuff to Kbuild.arch

From: Artem Bityutskiy
Date: Sat May 05 2012 - 05:52:18 EST


On Sat, 2012-05-05 at 10:18 +0200, Sam Ravnborg wrote:
> Prevent that we eveluate cc-option multiple times for the same
> option by moving the definitions to Kbuild.arch.
> The file is included once only, thus gcc is not invoked once per directory.
>
> Another side-effect of this patch is that KCFLAGS are appended last
> to the list of options. This allows us to better control the options.
> Artem Bityutskiy <dedekind1@xxxxxxxxx> noticed this.
>
> Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Cc: Artem Bityutskiy <dedekind1@xxxxxxxxx>

Looks OK, thanks!

Acked-by: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>

--
Best Regards,
Artem Bityutskiy

Attachment: signature.asc
Description: This is a digitally signed message part