dts/Makefile: don't use cpp -P
authorStephen Warren <swarren@nvidia.com>
Wed, 24 Jul 2013 17:09:23 +0000 (10:09 -0700)
committerTom Rini <trini@ti.com>
Fri, 2 Aug 2013 22:30:11 +0000 (18:30 -0400)
Recent dtc supports #line directives in the input source code, and even
uses them to generate useful line numbers in any messages it emits. Stop
passing -P to cpp, since there's no need any more.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
dts/Makefile

index 5dbf59be2f1dc6a17e2f95b170de82d7eb382c91..ccd552fa0031e02c82790d209058f75f8a002492 100644 (file)
@@ -35,7 +35,7 @@ all:  $(obj).depend $(LIB)
 DT_BIN := $(obj)dt.dtb
 
 $(DT_BIN): $(TOPDIR)/board/$(VENDOR)/dts/$(DEVICE_TREE).dts
-       $(CPP) -P $(DTS_CPPFLAGS) $< -o $(DT_BIN).dts.tmp
+       $(CPP) $(DTS_CPPFLAGS) $< -o $(DT_BIN).dts.tmp
        $(DTC) $(DTC_FLAGS) -O dtb -o ${DT_BIN} $(DT_BIN).dts.tmp
 
 process_lds = \