Skip to content

Commit

Permalink
kbuild: dtbinst: remove unnecessary __dtbs_install_prep target
Browse files Browse the repository at this point in the history
Since commit 5399eb9 ("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 <[email protected]>
  • Loading branch information
masahir0y committed May 7, 2017
1 parent 028d5bf commit f55813b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/Makefile.dtbinst
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ include include/config/auto.conf
include scripts/Kbuild.include
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-dirs := $(dts-dirs)

Expand All @@ -35,8 +29,6 @@ quiet_cmd_dtb_install = INSTALL $<

install-dir = $(patsubst $(dtbinst-root)%,$(INSTALL_DTBS_PATH)%,$(obj))

$(dtbinst-files) $(dtbinst-dirs): | __dtbs_install_prep

$(dtbinst-files): %.dtb: $(obj)/%.dtb
$(call cmd,dtb_install,$(install-dir))

Expand Down

0 comments on commit f55813b

Please sign in to comment.