From patchwork Fri Dec 7 11:33:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 153149 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp387127ljp; Fri, 7 Dec 2018 03:34:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/VqWQ4QhoGogDXJM0y3vFrxzwNJWvMTmElptCzap9F8lL1eBq64+Dd76xN1mModyZ0iCDL/ X-Received: by 2002:a63:1321:: with SMTP id i33mr1659450pgl.380.1544182493486; Fri, 07 Dec 2018 03:34:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544182493; cv=none; d=google.com; s=arc-20160816; b=kOPJxpF9fcsjJNe30YmkPi7Bqv3m2Iyp0fKngrLC8uZanSeqGxwholcvDo6fSTqU0t l+ipuCSa5KRUp1c4aPo8/QdODi1jh3bsd42UYGIqDDmhEomq5YvL3BQJJnWaTTBGjNKf hrFylqLQfMBJLxtsiPymmXWvt1uo39kRqhUQZBbMwRaOCXjTIpbiEMZj+/GDKq3nbpH6 NSHEIZdCQ1SvLKoNZHSux2jNUM68+t0tMS1KtOx4GSFqS/Cm/cj2BgmBDLiLMVA6RscR wrWy+TPWMnHPIJAbsvt4uLAAjbRuaeaMM2gctqWyj62HRvnDZjli+1N/O+KhkKa7vNvs jnHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=Szx3G+D9Ykc5wPocxiIgpOefJMSBr6XaryNtZw8+QQQ=; b=ExQ9NSLVfEuHDmdDc5BTVIwf6X6I52MHexiLoETGJphWxGA+IJxnkVwIDMANqeEyjo iece9L8MP5vvIGIwLIhDCiPDDTNEOGMfF1MrKy4z5WPZHpPHdf0FT7fMakxzPzxgXnvV WhLORhSsxABcKYTbzamIZW+GJ0VeWM6uBjm5Ash9yYLNhBSGMW3nhURyNm/ulJyrvrrF FF7A2rTBcUKftBtuxHgumVptEf+8Cr80B+rm+wP5+cEvj8Y23mNVNKf79nOrV4UIj34m w7gnVEKcEyX/S88mSBz1EA30aMPY+ZWTNYeHKgcU5zuqj07lf7VaNN1qGPZw12Vu1C3y seqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=GB6nkJcx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i35si2710309plg.396.2018.12.07.03.34.53; Fri, 07 Dec 2018 03:34:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=GB6nkJcx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726192AbeLGLev (ORCPT + 31 others); Fri, 7 Dec 2018 06:34:51 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:45837 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbeLGLeg (ORCPT ); Fri, 7 Dec 2018 06:34:36 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id wB7BY6rf020070; Fri, 7 Dec 2018 20:34:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com wB7BY6rf020070 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544182449; bh=Szx3G+D9Ykc5wPocxiIgpOefJMSBr6XaryNtZw8+QQQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GB6nkJcx+bKVbVtbEiXhg7Q1FTdzhiVCCRyVG9ph8DQTwA30gQ1vMKu5WKLl9kw4r qiXDSsKa8mSRwVyZZsSe5nzct++yyKU81jvS4EzMB2HqkBRS49pOhFd+fx6/pD3CPg 5CW2AMOgQB7cwlrJjtQzna5tgjF3uI7H2foAPtYqtE5R4HXV3tQgrrgNII+7jXQkAe /ZsuaRJc1mXAPO+aShCCGUIfi1SF0PowH8IFGnrssa8sUpVzt0SJ8SiP4+rLz5hvnH nJOZbNRtYlJCzo+jClDg3HGHA9QDzJzWXiJeQjaF3NX1EpBnKb6GZn4wxOKC710YBS 4J+PqW3A8jTpg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Michal Simek Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 4/6] microblaze: add linux.bin* and simpleImage.* to PHONY Date: Fri, 7 Dec 2018 20:33:55 +0900 Message-Id: <1544182437-26660-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544182437-26660-1-git-send-email-yamada.masahiro@socionext.com> References: <1544182437-26660-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org linux.bin, linux.bin.gz, and linux.bin.ub are phony targets to generate a corresponding image under arch/microblaze/boot/. simpleImage.% also works like a phony target, but a pattern that contains '%' cannot be a phony target. I replaced it with equivalent simpleImage.$(DTB). Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/microblaze/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index ff5abbd..180dffa 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -82,11 +82,13 @@ archclean: archheaders: $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all +PHONY += linux.bin linux.bin.gz linux.bin.ub linux.bin linux.bin.gz linux.bin.ub: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' -simpleImage.%: vmlinux +PHONY += simpleImage.$(DTB) +simpleImage.$(DTB): vmlinux $(Q)$(MAKE) $(build)=$(boot) $(addprefix $(boot)/$@., ub unstrip strip) @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'