]> git.ipfire.org Git - people/ms/u-boot.git/commit
dts/Makefile: Turn off some predefined macros
authorHorst Kronstorfer <hkronsto@frequentis.com>
Fri, 13 Jul 2012 03:03:40 +0000 (03:03 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 10 Aug 2012 21:54:16 +0000 (23:54 +0200)
commitb4f106be2d8a4eb34ce41c5306d5a4fcc37e60e3
treea15317a93b315d1a75d1a5e373df2dc3f96ed531
parent8fde2f3a95c555903b54249f6d7ccab859ee2d6f
dts/Makefile: Turn off some predefined macros

Add '-ansi' to DTS_CPPFLAGS to avoid unwanted expansion of dts content
that matches some predefined macros.

Example: A number of PowerPC related *.dts files in the kernel define a
property named 'linux,network-index' which (w/o '-ansi') is expanded to
'1,network-index' by the preprocessor because of '#define linux 1.'

Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
dts/Makefile