Re: [PATCH] Kbuild: move extra gcc check flags to the top Makefile

2014-04-08 Thread Sam Ravnborg
On Tue, Apr 08, 2014 at 05:06:57PM +0200, Michal Marek wrote: > On 2014-04-07 05:22, Masahiro Yamada wrote: > > If W=... given to the command line, extra gcc check flags are added > > to KBUILD_CFLAGS. > > > > If we have such code in scripts/Makefile.build, the same flags are > > added to KBUILD_C

Re: [PATCH] Kbuild: move extra gcc check flags to the top Makefile

2014-04-08 Thread Michal Marek
On 2014-04-07 05:22, Masahiro Yamada wrote: > If W=... given to the command line, extra gcc check flags are added > to KBUILD_CFLAGS. > > If we have such code in scripts/Makefile.build, the same flags are > added to KBUILD_CFLAGS multiple times becuase scripts/Makefile.build > is invoked every tim