Skip to content

Commit dd7699e

Browse files
committed
Revert "kbuild: Create directory for target DTB"
This reverts commit 77479b3. Since commit 8a78756 ("kbuild: create object directories simpler and faster"), all directories for 'targets' are created. 'mkdir -p $(dir ${dtc-tmp})' is no longer needed. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 0c33f12 commit dd7699e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/Makefile.lib

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,7 @@ $(obj)/%.dtb.S: $(obj)/%.dtb FORCE
303303
$(call if_changed,dt_S_dtb)
304304

305305
quiet_cmd_dtc = DTC $@
306-
cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
307-
$(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
306+
cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
308307
$(DTC) -O $(patsubst .%,%,$(suffix $@)) -o $@ -b 0 \
309308
$(addprefix -i,$(dir $<) $(DTC_INCLUDE)) $(DTC_FLAGS) \
310309
-d $(depfile).dtc.tmp $(dtc-tmp) ; \

0 commit comments

Comments
 (0)