From patchwork Mon Dec 3 07:50: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: 152675 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6512104ljp; Sun, 2 Dec 2018 23:51:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/VTjvP77OYRRHPoWc7AdA/XdmlfaU7lIFifztmEI5ENq1NmJdklMYyP/yI1HiXg8ARBbwIB X-Received: by 2002:a62:2a4b:: with SMTP id q72mr14693089pfq.61.1543823503814; Sun, 02 Dec 2018 23:51:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543823503; cv=none; d=google.com; s=arc-20160816; b=0xiBTks/nJiUXkaWVp4EyaSHpytQdr0tSPy1D4bSp56Q7GzpvdshEFkCq+fJAXahEw 5jx5+Bj1VffbdWfnEynMFaSYh2d+ZiXFTsf8DBYXx1BILr/HPkwwBF8U8MonCiaFztbE t+uFcX97ewmKLe2ThI5RY5rQdvw5kg4CIFpZ/HPWlE+jb9xPLlZw3IrOddR+NthAl32B UdJydJzm4Pn99ncvGfFdOPQ68KdevQ+bPgXuw+ZSz45QiC0kHXn4LhpEyTvD8/HzIW3w UgxoT7n6k/5DA2Fc9olMdMZz67X2Svhh1TM9HDLq6DyUuGxuQNEPStqxcKkdswmG1/xB /zqA== 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=FqpO5zyD2YzdwZn60QrxTfZLs1HKycrr9Un4ocfeCp0=; b=oeJ3B4VeCDevP1dsWgcXyN3k/2rbM8FyeWj8lsUGZv1KoWBdEq6OTFers8CG8ch36Y ORAOC4gFIy2e6V7OY/XNlKyWMxe7jOmdlDjo/18D2I4kbUCVnoR4gUM1WkSCRmS5tBlo YYtiu7Ox5lkXpVL32S8U1Z0EEd3DafiwGpTp9lM//uh7KQn9Ct5O3yUjbtNKjDDghjw8 mqnkWzSZy+P9z74Qlwm39ZTI8vyTZoxq/In+N7uhO90GAQN1oQ2Fdho0WTqTPgm3JQXz aPW4+Zh0HTJLvugDWMq55Znjxk4OGxCRBluFwTY/rdDmaic81/uBSo3ASluTTc4iCCGM 0SFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EH0dGTpS; 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 w11si12178583pgf.452.2018.12.02.23.51.43; Sun, 02 Dec 2018 23:51:43 -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=EH0dGTpS; 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 S1725893AbeLCHvp (ORCPT + 32 others); Mon, 3 Dec 2018 02:51:45 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:60227 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725845AbeLCHvp (ORCPT ); Mon, 3 Dec 2018 02:51:45 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id wB37p4O6009296; Mon, 3 Dec 2018 16:51:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com wB37p4O6009296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1543823468; bh=FqpO5zyD2YzdwZn60QrxTfZLs1HKycrr9Un4ocfeCp0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EH0dGTpSvfi7tLAoqRthaOukjr3aF6e5c12jc0poD3DMKbnmLQaMmEpwea5mygBTo SlqFCaNd7+9WMnwKtBFIBRHr6AHKlyOltByXcWVAy8sJiyMr8xwenYXw+Ap+og7Q3h Bf230MH+FMvDz4YTdjaAaDvCBZ79X7X9I9igA3paNuEbl9GCpSrOjQ4MpgdWYEMCG9 Wv49gXnotJ5PVrLcfM/PR1ZgMW+wpnQGRln+PSOGUY3/23Vbjtxb61dqV4pSXnIrf4 Wd84u+NgbLvWkLd4o7OYlhiAcX6ssZZAqWpV6OTE2+7C0/CWOeIkkgscwasWD7eg5W aLjKoRWyTobGg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Michal Simek Cc: linux-kbuild@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 5/7] microblaze: add linux.bin* and simpleImage.* to PHONY Date: Mon, 3 Dec 2018 16:50:55 +0900 Message-Id: <1543823457-32478-6-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543823457-32478-1-git-send-email-yamada.masahiro@socionext.com> References: <1543823457-32478-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 renamed it to equivalent simpleImage.$(DTB). Signed-off-by: Masahiro Yamada --- arch/microblaze/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 Acked-by: Michal Simek diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index c5d5b0e..7a5df02 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -79,11 +79,13 @@ all: linux.bin archclean: $(Q)$(MAKE) $(clean)=$(boot) +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) simple_images @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')'