[U-Boot] [PATCH, v2] dts/Makefile: Turn off some predefined macros

Wolfgang Denk
2012-08-10T21:53:53Z

Dear Horst Kronstorfer,

In message <1343337995-1291-1-git-send-email-hkronsto@frequentis.com> you wrote:
> 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>
> ---
> Changes in v2:
> - Use '-ansi' instead of '-undef.'
>
> dts/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied this one instead, thanks.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Overflow on /dev/null, please empty the bit bucket.