From patchwork Thu Mar 31 16:43:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 64802 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp263020lbc; Thu, 31 Mar 2016 09:44:59 -0700 (PDT) X-Received: by 10.98.10.74 with SMTP id s71mr23445570pfi.86.1459442699022; Thu, 31 Mar 2016 09:44:59 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lk8si15113881pab.112.2016.03.31.09.44.58; Thu, 31 Mar 2016 09:44:59 -0700 (PDT) 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; 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 S1757565AbcCaQo4 (ORCPT + 29 others); Thu, 31 Mar 2016 12:44:56 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:34690 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756715AbcCaQoz (ORCPT ); Thu, 31 Mar 2016 12:44:55 -0400 Received: from grover.sesame (FL1-203-136-65-164.osk.mesh.ad.jp [203.136.65.164]) (authenticated) by conuserg-07.nifty.com with ESMTP id u2VGhBsH020666; Fri, 1 Apr 2016 01:43:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u2VGhBsH020666 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1459442599; bh=gQfqoEtr39BRP3d/YGYd08CsDC5+/AjCDd/vlsScq7o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WfFJ/ohhISlZGqlT00QbsI94mPJ6YDRcWKX/7D+cVxQz5mrn9geheWBE8LeRhsL44 b75iFiHBwGRP4XZKJkS2xU4d4zN9mQ1DcppFcwQpFQE2pTzmLosmS2F5qdOX5imvze o2okA53rblpl6J1TYv+PZdOS+IOixAgQxTGias5QVsIbfSR06hv/Gqw/ufxAVuhEMa BJUySEXY6mola2e1z3MbLcexZr6W0ZebgcPKZE/WC+Ku6gXBWDBsWyT7ydv14DP+Q9 I/Mmh5v0Vlf46vyvGALkOd52QhqWANY+EPaeq1+nxtQBQAbpWwa6FvJTeHmhloZqKb BZmmvjXHoAgaw== X-Nifty-SrcIP: [203.136.65.164] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada , Russell King , linux-kernel@vger.kernel.org, Michal Marek Subject: [PATCH 2/2] ARM: delete "*Image is ready" log Date: Fri, 1 Apr 2016 01:43:02 +0900 Message-Id: <1459442582-23121-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459442582-23121-1-git-send-email-yamada.masahiro@socionext.com> References: <1459442582-23121-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 Commit 3939f3345050 ("ARM: 8418/1: add boot image dependencies to not generate invalid images") fixed bad image generation in case of parallel building, but as a side effect, Kbuild now descends into arch/arm/boot/ again and again, duplicating the same log messages. This is clumsy. In the example below (incremental build), "Kernel: arch/arm/boot/Image is ready" is displayed three times. "Kernel: arch/arm/boot/zImage is ready" is displayed twice. $ make ARCH=arm UIMAGE_LOADADDR=0x80208000 uImage CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. CHK include/generated/bounds.h CHK include/generated/timeconst.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh :1310:2: warning: #warning syscall preadv2 not implemented [-Wcpp] :1313:2: warning: #warning syscall pwritev2 not implemented [-Wcpp] CHK include/generated/compile.h Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready Image arch/arm/boot/uImage is ready Signed-off-by: Masahiro Yamada --- arch/arm/boot/Makefile | 5 ----- 1 file changed, 5 deletions(-) -- 1.9.1 diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile index 446705a..966104e 100644 --- a/arch/arm/boot/Makefile +++ b/arch/arm/boot/Makefile @@ -31,7 +31,6 @@ ifeq ($(CONFIG_XIP_KERNEL),y) $(obj)/xipImage: vmlinux FORCE $(call if_changed,objcopy) - @$(kecho) ' Kernel: $@ is ready (physical address: $(CONFIG_XIP_PHYS_ADDR))' $(obj)/Image $(obj)/zImage: FORCE @echo 'Kernel configured for XIP (CONFIG_XIP_KERNEL=y)' @@ -46,14 +45,12 @@ $(obj)/xipImage: FORCE $(obj)/Image: vmlinux FORCE $(call if_changed,objcopy) - @$(kecho) ' Kernel: $@ is ready' $(obj)/compressed/vmlinux: $(obj)/Image FORCE $(Q)$(MAKE) $(build)=$(obj)/compressed $@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE $(call if_changed,objcopy) - @$(kecho) ' Kernel: $@ is ready' endif @@ -78,7 +75,6 @@ fi $(obj)/uImage: $(obj)/zImage FORCE @$(check_for_multiple_loadaddr) $(call if_changed,uimage) - @$(kecho) ' Image $@ is ready' $(obj)/bootp/bootp: $(obj)/zImage initrd FORCE $(Q)$(MAKE) $(build)=$(obj)/bootp $@ @@ -86,7 +82,6 @@ $(obj)/bootp/bootp: $(obj)/zImage initrd FORCE $(obj)/bootpImage: $(obj)/bootp/bootp FORCE $(call if_changed,objcopy) - @$(kecho) ' Kernel: $@ is ready' PHONY += initrd install zinstall uinstall initrd: