From: Tom Rini Date: Sat, 23 Aug 2014 08:41:08 -0400 Subject: [U-Boot] [U-Boot, 1/3] kbuild: move extra gcc checks to scripts/Makefile.extrawarn In-Reply-To: <1407221805-18467-2-git-send-email-yamada.m@jp.panasonic.com> References: <1407221805-18467-2-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <20140823124108.GD19374@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: