[U-Boot] [U-Boot, 1/3] kbuild: move extra gcc checks to scripts/Makefile.extrawarn

Tom Rini trini at ti.com
Sat Aug 23 14:41:08 CEST 2014


On Tue, Aug 05, 2014 at 03:56:43PM +0900, Masahiro Yamada wrote:

> This commit was imported from Linux Kernel:
> commit a86fe353 written by me.
> 
> 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 <yamada.m at jp.panasonic.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140823/90cae229/attachment.pgp>


More information about the U-Boot mailing list