On Mon, Apr 14, 2014 at 06:27:10PM +0900, Masahiro Yamada wrote: > W=... provides extra gcc checks. > > Having such code in scripts/Makefile.build results in the same flags > being added to KBUILD_CFLAGS multiple times becuase > scripts/Makefile.build is invoked every time Kbuild descends into > the subdirectories. > > Since the top Makefile is already too cluttered, this commit moves > all of extra gcc check stuff to a new file scripts/Makefile.extrawarn, > which is included from the top Makefile. > > Signed-off-by: Masahiro Yamada <yamad...@jp.panasonic.com> > Cc: Michal Marek <mma...@suse.cz> > CC: Sam Ravnborg <s...@ravnborg.org> > --- > > Changes in v3: > - Rebase on v3.15-rc1 > (v2 caused a conflict with Clang stuff.) > > Changes in v2: > - Move the code to a new file scripts/Makefile.extrawarn > - Move also "KBUILD_ENABLE_EXTRA_GCC_CHECKS" definition
Applied to kbuild.git#kbuild, thanks. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/