Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1635361 > unrolled thread

[PATCH] kbuild: dtbinst: remove unnecessary __dtbs_install_prep target

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2017-05-04 03:20 +0200
Last post2017-05-08 01:00 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] kbuild: dtbinst: remove unnecessary __dtbs_install_prep target Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-05-04 03:20 +0200
    Re: [PATCH] kbuild: dtbinst: remove unnecessary __dtbs_install_prep target Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-05-08 01:00 +0200

#1635361 — [PATCH] kbuild: dtbinst: remove unnecessary __dtbs_install_prep target

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2017-05-04 03:20 +0200
Subject[PATCH] kbuild: dtbinst: remove unnecessary __dtbs_install_prep target
Message-ID<tDdB0-4Sg-5@gated-at.bofh.it>
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>
---

 scripts/Makefile.dtbinst | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst
index a1be75d..34614a4 100644
--- a/scripts/Makefile.dtbinst
+++ b/scripts/Makefile.dtbinst
@@ -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)
 
@@ -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))
 
-- 
2.7.4

[toc] | [next] | [standalone]


#1637135

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2017-05-08 01:00 +0200
Message-ID<tEDjI-3LC-13@gated-at.bofh.it>
In reply to#1635361
2017-05-04 10:14 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> 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>


Applied to linux-kbuild/kbuild.

-- 
Best Regards
Masahiro Yamada

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web