提交 f55813b4 编写于 作者: M Masahiro Yamada

kbuild: dtbinst: remove unnecessary __dtbs_install_prep target

Since commit 5399eb9b ("dtbsinstall: don't move target directory
out of the way"), the target __dtbs_install_prep is invoked just for
creating the install directory, but all the necessary directories
are automatically created by:
   cmd_dtb_install = mkdir -p $(2); cp $< $(2)
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 028d5bf1
...@@ -20,12 +20,6 @@ include include/config/auto.conf ...@@ -20,12 +20,6 @@ include include/config/auto.conf
include scripts/Kbuild.include include scripts/Kbuild.include
include $(src)/Makefile include $(src)/Makefile
PHONY += __dtbs_install_prep
__dtbs_install_prep:
ifeq ("$(dtbinst-root)", "$(obj)")
$(Q)mkdir -p $(INSTALL_DTBS_PATH)
endif
dtbinst-files := $(dtb-y) dtbinst-files := $(dtb-y)
dtbinst-dirs := $(dts-dirs) dtbinst-dirs := $(dts-dirs)
...@@ -35,8 +29,6 @@ quiet_cmd_dtb_install = INSTALL $< ...@@ -35,8 +29,6 @@ quiet_cmd_dtb_install = INSTALL $<
install-dir = $(patsubst $(dtbinst-root)%,$(INSTALL_DTBS_PATH)%,$(obj)) install-dir = $(patsubst $(dtbinst-root)%,$(INSTALL_DTBS_PATH)%,$(obj))
$(dtbinst-files) $(dtbinst-dirs): | __dtbs_install_prep
$(dtbinst-files): %.dtb: $(obj)/%.dtb $(dtbinst-files): %.dtb: $(obj)/%.dtb
$(call cmd,dtb_install,$(install-dir)) $(call cmd,dtb_install,$(install-dir))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册