Skip to content

Commit

Permalink
dts/Makefile: don't use cpp -P
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Simon Glass <[email protected]>
  • Loading branch information
nvswarren authored and trini committed Aug 2, 2013
1 parent 0652028 commit 32ac4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 = \
Expand Down

0 comments on commit 32ac4bd

Please sign in to comment.