From patchwork Mon Dec 3 07:50:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 152680 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6512690ljp; Sun, 2 Dec 2018 23:52:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/VSzr1vr/3tnbZcmTpcpS+2kl97sjQtRJREfmqPUz5iZ1aq/CAGJPxGzkNllGzH1xCw5nam X-Received: by 2002:a63:2c0e:: with SMTP id s14mr12631285pgs.132.1543823550413; Sun, 02 Dec 2018 23:52:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543823550; cv=none; d=google.com; s=arc-20160816; b=N/2fwOycbBnASNvdAQWwtMcn3cBTImC1Mb2dp+MBLQsTua0NlxasAXLDrh6aEE3f9j SzXIq6ovqKnPxG66QQQPLYEFpNF1hNMWavDw1KHJeKarplYlGHjhA/EeMWwxek7vsOIJ RjCYJmLl1lQNvQC3+oB9qzdBmXQMRDak2AQgv5lKPUYsSWJDe+kvUrNjndNOz3ECIUjP 3ovFuTxaKnWFZSG8p9A9axcqKCbHAyBXQC9twZhlC4pFjT9cj1QHRqvqV00kLA0t53Io hcYK0Zx1qMtgY6e+Nj+2CVB0KrC1KZRhk9IhphgC05lVXALBVKNTlgeLxcf0pJ0rKLYr fmRQ== 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=Vb/3OPGyTEOlXKRrpP3pR6+EXfznXh75TNXsZGFgG5Q=; b=ahfOya3eOheCYJRMzkXzy10e8y7IicyccnpxW1DPotTWDTw+hSP2CzvNMHTo7uLNfg IC+lBN4Qexu3y9EYN8A9Xj5HpjjRq/xHrJX1EBV5Wzkm1bTFM0AqnPC8Zp6EdcYGz1YZ ElGOuT9NStXyAnB9/8VWYkOXs84fLqEmGpEPQ0MDM80TwiItbvI/hIKQ05w6SvQ59cDA Zzv79LXmWp4vfDlZrgBYFZDxyzYxwtLBzQ3THw02s+XOmnT9mU2Q+5sE16xoLciwltT5 9XehaNLNbmfBRSf7YSoTkP3X7DG/Dcr9RbrYCOqCFuIfM/YTOcZ04jzSqvk10bAJzGb7 Eajg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=UosMbsE9; 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 c4si12676654pfi.110.2018.12.02.23.52.30; Sun, 02 Dec 2018 23:52:30 -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=UosMbsE9; 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 S1725911AbeLCHvq (ORCPT + 32 others); Mon, 3 Dec 2018 02:51:46 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:60222 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725835AbeLCHvp (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 wB37p4O4009296; Mon, 3 Dec 2018 16:51:06 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com wB37p4O4009296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1543823466; bh=Vb/3OPGyTEOlXKRrpP3pR6+EXfznXh75TNXsZGFgG5Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UosMbsE9r86oY8zuhVPhKXTYvfuO+KGkDW/MfMF0ZL9Fg6V9k67jxJz4J4UHniaMg ZyDwApNHqd+KjJvC2okGlAIzRY9gfsrToRdiunxTuVd8xGQdvOMsoOHmP0bJbdIo7k 7fZ1Mxn9+AogTfDLbtaZOoyD2hUbAzN+rEBcHsxsb93b7HHrS0CoQ7j4kXO2mTHrBG /YY0VqtAly3JGbW9jAuX/c38ef6mEQMdy3xHi3v18Vcl1/5XmZ100ewlpGCZrfee0V EtjmsQezg7LvUKzgOsHXV818M71ZKxIDMqI0hnBXCIESHca099DjRKjUj5KzNmABQ2 KLhuUAOPzp0uw== 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 3/7] microblaze: move "... is ready" message to arch/microblaze/Makefile Date: Mon, 3 Dec 2018 16:50:53 +0900 Message-Id: <1543823457-32478-4-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 To prepare for more fixes, move this to arch/microblaze/Makefile. Otherwise, the same "... is ready" would be printed multiple times. (Another solution would be, to remove these messages entirely unless people persist with them.) Signed-off-by: Masahiro Yamada --- arch/microblaze/Makefile | 2 ++ arch/microblaze/boot/Makefile | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index 97e1384..cfd7bfca 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -81,9 +81,11 @@ archclean: linux.bin linux.bin.gz linux.bin.ub: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ + @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' simpleImage.%: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ + @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' define archhelp echo '* linux.bin - Create raw binary' diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index e8684a2..c2579a7 100644 --- a/arch/microblaze/boot/Makefile +++ b/arch/microblaze/boot/Makefile @@ -9,15 +9,12 @@ OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary $(obj)/linux.bin: vmlinux FORCE $(call if_changed,objcopy) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' $(obj)/linux.bin.ub: $(obj)/linux.bin FORCE $(call if_changed,uimage) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' $(obj)/linux.bin.gz: $(obj)/linux.bin FORCE $(call if_changed,gzip) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' quiet_cmd_cp = CP $< $@$2 cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false) @@ -35,6 +32,5 @@ $(obj)/simpleImage.%: vmlinux FORCE $(call if_changed,objcopy) $(call if_changed,uimage) $(call if_changed,strip,.strip) - @echo 'Kernel: $(UIMAGE_OUT) is ready' ' (#'`cat .version`')' clean-files += simpleImage.*