Revert "scripts: Makefile: add support to use external DTC"
This reverts commit 989644423b9a5dc156ed832d46de85c9a69e8995. Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
This commit is contained in:
parent
1569ed3d05
commit
33583d33b1
@ -296,12 +296,6 @@ cmd_dt_S_dtb= \
|
||||
$(obj)/%.dtb.S: $(obj)/%.dtb FORCE
|
||||
$(call if_changed,dt_S_dtb)
|
||||
|
||||
ifneq ($(DTC_EXT),)
|
||||
DTC = $(DTC_EXT)
|
||||
else
|
||||
DTC = $(objtree)/scripts/dtc/dtc
|
||||
endif
|
||||
|
||||
quiet_cmd_dtc = DTC $@
|
||||
cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
|
||||
$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
|
||||
|
@ -2,9 +2,7 @@
|
||||
# scripts/dtc makefile
|
||||
|
||||
hostprogs-y := dtc
|
||||
ifeq ($(DTC_EXT),)
|
||||
always := $(hostprogs-y)
|
||||
endif
|
||||
|
||||
dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
|
||||
srcpos.o checks.o util.o
|
||||
|
Loading…
Reference in New Issue
Block a user