From patchwork Thu May 4 01:14:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9710701 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E3DE460385 for ; Thu, 4 May 2017 01:16:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D56D528634 for ; Thu, 4 May 2017 01:16:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C8C1028669; Thu, 4 May 2017 01:16:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C83228634 for ; Thu, 4 May 2017 01:16:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbdEDBQR (ORCPT ); Wed, 3 May 2017 21:16:17 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:43049 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752176AbdEDBQR (ORCPT ); Wed, 3 May 2017 21:16:17 -0400 Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-08.nifty.com with ESMTP id v441F3UO013098; Thu, 4 May 2017 10:15:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v441F3UO013098 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1493860508; bh=wKZtmj7p538W/DCGeUaOyro89/95MAQ8Dn7MG+UoHnA=; h=From:To:Cc:Subject:Date:From; b=NXFcznPbZ9nLwqFZgDgNQPtBfQ6pBQ7vrPnKBS4++zYxsDwRSve9vWYDjZFRnzBy8 bpttXU4NQXYJsCj5gH1+ZYyv/6UBxldOGWSpppZXdGiLTwbsKfTCSVHMTt+R/Qul/C 4wrTk3KKHCv4SIwJDYyqWQpcDthaFODo3dVcjj7an7QKUUounSw2uR3aSq9mcM+RgP X8m6jwx9Z6Sj3JFlA33hnxbgWerDCWl8bLvl+9EPaPuMILhaBBQ5/z1BKTjs268ajh tIE6I5rGdCwoEjM2E/E/0ytv7ByfBDvxoHtabNR27zlo7F+3gKrmIYIzx/sxAJTkSf XQYUGxsu49LSA== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Ben Hutchings , Russell King , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: dtbinst: remove unnecessary __dtbs_install_prep target Date: Thu, 4 May 2017 10:14:57 +0900 Message-Id: <1493860497-26311-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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))