[U-Boot] Makefile: delete unnecessary CPPFLAGS settings

Tom Rini trini at ti.com
Mon Dec 16 15:14:39 CET 2013


On Thu, Nov 28, 2013 at 06:31:59PM +0900, Masahiro Yamada wrote:

> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> 
> ---
> Note that changing CPPFLAGS locally is meaningless.
> 
> $(CPPFLAGS) is evaluated around line 260 of $(TOPDIR)/config.mk:
> 
>     CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
> 
> $(TOPDIR)/config.mk is included at the top of
> sub makefiles, which is before adding CPPFLAGS locally.
> 
> Please be aware that GNU make has the two different flavor
> of substition operator, ":=" and "=".
> 
> 
>  board/freescale/common/p_corenet/Makefile | 2 --
>  common/Makefile                           | 2 --
>  2 files changed, 4 deletions(-)

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/20131216/7d5e6e61/attachment.pgp>


More information about the U-Boot mailing list