From patchwork Wed Oct 4 04:27:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9983871 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 ADB6660237 for ; Wed, 4 Oct 2017 04:28:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8453928A52 for ; Wed, 4 Oct 2017 04:28:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76E1728A54; Wed, 4 Oct 2017 04:28:21 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B80C728A52 for ; Wed, 4 Oct 2017 04:28:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=YTY1NuWGMUrhvacdrw2MhAUn6IEOeyQCcELHeDuk1p0=; b=pIk FBPibPmNc5vr6ViB4ELO315D2nZaFQBEe1lzp4EYLVLyrf2N1CWreDlfYJkmnZP6pXrr/KZ6X1yKQ ir/x4w+GZ2XIx9Y0ljuaLGU/e4omtNXiGWn0F2Vwfm24/ntAir+bRVPTMwfC8C+PZoZ6gPmI3IkAN rwZJJZnieo26olZXfzHINuhGrBBYcECzjdqJ4U8wm3scO194XreXjIJnCXQu9cDpVNBboY3IYphHa 2fhJx7x0MCUCwMIqV9DMErM9SO3EZkaatQiBYIilWPqxTFvpmpKW9U2/NKe7vr13zK/Arr+4/GFWr nIa8Lke8D3r3h6EUt8f5gRaF7gypArQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dzbI8-0001ry-Fz; Wed, 04 Oct 2017 04:28:16 +0000 Received: from conuserg-11.nifty.com ([210.131.2.78]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dzbI5-0001mH-1T for linux-arm-kernel@lists.infradead.org; Wed, 04 Oct 2017 04:28:15 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id v944RS1a013589; Wed, 4 Oct 2017 13:27:29 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com v944RS1a013589 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507091249; bh=jvg4qubhZWIGF5LIArAMhJmCEh60fc+aSQiSQT8mMvs=; h=From:To:Cc:Subject:Date:From; b=UyONWRtUo0SXl85fG+pf2J1rduHMETR8jiN8Bphmswta3ZpHSZ9l3ClKNIByiRA8L 8jgx2wtF+I7u8hFrp3q4YjYk8n/1QECctAKryhsV9xFnl3Rx1loEqPl6cHGf7IA1Uo 8PpmnDAKTiwVTx5wlRa9F2JGA/mNr1dUbAx9eK03oBh6x7En4oWV2f1xBL41HLbrq+ 5HzJYMRZHC2ceGqyluntIekD+ykgLXCBUtAu8iED3Ilez5Y7ZAg1+odqwD21/6FaHj lIkcG8x1QdqbvI/D/tyJyd5ZnvO8GKd+eAqsrAuSZ71Wg9a/zbe8fRzYZuoNVbFlHJ hK+H/KtsrhSAg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Subject: [PATCH] kbuild: fix dependency of dtbs targets Date: Wed, 4 Oct 2017 13:27:20 +0900 Message-Id: <1507091240-12756-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171003_212813_434885_6E7591A3 X-CRM114-Status: UNSURE ( 7.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Russell King , Masahiro Yamada , Ley Foon Tan , nios2-dev@lists.rocketboards.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The target "dtbs" should depend on "scripts" because it needs to build dtc. The "prepare" target is unneeded here. Signed-off-by: Masahiro Yamada Acked-by: Will Deacon Acked-by: Russell King --- arch/arm/Makefile | 2 +- arch/arm64/Makefile | 2 +- arch/nios2/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 47d3a1a..cdb5b55 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -342,7 +342,7 @@ $(INSTALL_TARGETS): PHONY += dtbs dtbs_install -dtbs: prepare scripts +dtbs: scripts $(Q)$(MAKE) $(build)=$(boot)/dts dtbs_install: diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 939b310..fd56fbc 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -133,7 +133,7 @@ zinstall install: PHONY += dtbs dtbs_install -dtbs: prepare scripts +dtbs: scripts $(Q)$(MAKE) $(build)=$(boot)/dts dtbs_install: diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile index 8673a79..abc3f5b 100644 --- a/arch/nios2/Makefile +++ b/arch/nios2/Makefile @@ -61,7 +61,7 @@ archclean: %.dtb: | scripts $(Q)$(MAKE) $(build)=$(nios2-boot) $(nios2-boot)/$@ -dtbs: +dtbs: scripts $(Q)$(MAKE) $(build)=$(nios2-boot) $(nios2-boot)/$@ $(BOOT_TARGETS): vmlinux