Skip to content
Snippets Groups Projects
Commit b4f106be authored by Horst Kronstorfer's avatar Horst Kronstorfer Committed by Wolfgang Denk
Browse files

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: default avatarHorst Kronstorfer <hkronsto@frequentis.com>
parent 8fde2f3a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment