diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-05-03 21:14:57 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-05-07 18:26:06 -0400 |
commit | f55813b4d8bfc9f35fda87bc1e21b7f26835fc5c (patch) | |
tree | e21b882ca31d388ba1faf0a81c4db3add3cb56e3 | |
parent | 028d5bf161d11b6cab9f2d0ad076cccd1d8495bc (diff) |
kbuild: dtbinst: remove unnecessary __dtbs_install_prep target
Since commit 5399eb9b3908 ("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: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | scripts/Makefile.dtbinst | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst index a1be75d0a5fd..34614a48b717 100644 --- a/scripts/Makefile.dtbinst +++ b/scripts/Makefile.dtbinst | |||
@@ -20,12 +20,6 @@ include include/config/auto.conf | |||
20 | include scripts/Kbuild.include | 20 | include scripts/Kbuild.include |
21 | include $(src)/Makefile | 21 | include $(src)/Makefile |
22 | 22 | ||
23 | PHONY += __dtbs_install_prep | ||
24 | __dtbs_install_prep: | ||
25 | ifeq ("$(dtbinst-root)", "$(obj)") | ||
26 | $(Q)mkdir -p $(INSTALL_DTBS_PATH) | ||
27 | endif | ||
28 | |||
29 | dtbinst-files := $(dtb-y) | 23 | dtbinst-files := $(dtb-y) |
30 | dtbinst-dirs := $(dts-dirs) | 24 | dtbinst-dirs := $(dts-dirs) |
31 | 25 | ||
@@ -35,8 +29,6 @@ quiet_cmd_dtb_install = INSTALL $< | |||
35 | 29 | ||
36 | install-dir = $(patsubst $(dtbinst-root)%,$(INSTALL_DTBS_PATH)%,$(obj)) | 30 | install-dir = $(patsubst $(dtbinst-root)%,$(INSTALL_DTBS_PATH)%,$(obj)) |
37 | 31 | ||
38 | $(dtbinst-files) $(dtbinst-dirs): | __dtbs_install_prep | ||
39 | |||
40 | $(dtbinst-files): %.dtb: $(obj)/%.dtb | 32 | $(dtbinst-files): %.dtb: $(obj)/%.dtb |
41 | $(call cmd,dtb_install,$(install-dir)) | 33 | $(call cmd,dtb_install,$(install-dir)) |
42 | 34 | ||