mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
dts/Makefile: don't use cpp -P
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>
This commit is contained in:
parent
065202803d
commit
32ac4bd9ca
1 changed files with 1 additions and 1 deletions
|
@ -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 = \
|
||||
|
|
Loading…
Reference in a new issue