]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - dts/Makefile
dts/Makefile: pass -undef -D__DTS__ to cpp
[karo-tx-uboot.git] / dts / Makefile
index ccd552fa0031e02c82790d209058f75f8a002492..3cf991eaf2f801b1f3886a9627d927296aa239ea 100644 (file)
@@ -21,7 +21,7 @@ DTS_INCDIRS =  $(SRCTREE)/board/$(VENDOR)/$(BOARD)/dts
 DTS_INCDIRS += $(SRCTREE)/board/$(VENDOR)/dts
 DTS_INCDIRS += $(SRCTREE)/arch/$(ARCH)/dts
 
-DTS_CPPFLAGS := -x assembler-with-cpp \
+DTS_CPPFLAGS := -x assembler-with-cpp -undef -D__DTS__ \
                -nostdinc $(addprefix -I,$(DTS_INCDIRS))
 
 DTC_FLAGS := -R 4 -p 0x1000 \