[U-Boot] [PATCH 7/8] dts/Makefile: don't use cpp -P
Stephen Warren
swarren at wwwdotorg.org
Tue Jun 11 01:17:03 CEST 2013
From: Stephen Warren <swarren at nvidia.com>
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 at nvidia.com>
---
dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dts/Makefile b/dts/Makefile
index f1dad07..b9add54 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -51,7 +51,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).dtstmp
+ $(CPP) $(DTS_CPPFLAGS) $< -o $(DT_BIN).dtstmp
$(DTC) $(DTC_FLAGS) -O dtb -o ${DT_BIN} $(DT_BIN).dtstmp
process_lds = \
--
1.8.1.5
More information about the U-Boot
mailing list