]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Revert "kbuild: Create directory for target DTB"
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 23 Jun 2020 08:05:49 +0000 (17:05 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 7 Jul 2020 02:13:10 +0000 (11:13 +0900)
This reverts commit 77479b38e2f58890eb221a0418357502a5b41cd6.

Since commit 8a78756eb545 ("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 <masahiroy@kernel.org>
scripts/Makefile.lib

index 916b2f7f70987c8e1a89ba895ac4c0ce6f4d2548..8fa9aa2c9fcaa9f1fb7657942bc0ab1074d931c6 100644 (file)
@@ -303,8 +303,7 @@ $(obj)/%.dtb.S: $(obj)/%.dtb FORCE
        $(call if_changed,dt_S_dtb)
 
 quiet_cmd_dtc = DTC     $@
-cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
-       $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
+cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
        $(DTC) -O $(patsubst .%,%,$(suffix $@)) -o $@ -b 0 \
                $(addprefix -i,$(dir $<) $(DTC_INCLUDE)) $(DTC_FLAGS) \
                -d $(depfile).dtc.tmp $(dtc-tmp) ; \