From patchwork Tue Oct 9 15:23:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12069 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D9F9023F6D for ; Tue, 9 Oct 2012 15:23:35 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 8A780A18CD7 for ; Tue, 9 Oct 2012 15:23:35 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so11480968iej.11 for ; Tue, 09 Oct 2012 08:23:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=dCdTdj4swssGGVL5hO6yUeOlljib9GId5RU4+H/Cdg0=; b=cSOaW8fdJBszOFpqr+OZ7HL8P8F4qFHpS7ZTkZ4wafDz3bs1m6KaVSalUEf1xY5LGj GC25R1PmwlCG9F6pZdngkRG/O5QRoJCvCWo/1nDtkuvXdcpjMe5yMLPJlcjYeRZgN1l0 Okham44EvYClASQCIVyWPnGJJK2naeeOfqVfqb8wsqNd2vd3XJCTr56L7mAFuepmWXXy rl15YseI6X9Ychy/wV46H+fGN3Q8mgep8tfT7v2+LdA2KQcb8+T+NnzlbiM6vqjtfGfS 3UiEb4xTyqrMu/8z7A2AA56MnaZR9TSQmRBwu7s30xZfCQeBBKpURsFIpEurqj6xPORD 0HzQ== Received: by 10.50.91.195 with SMTP id cg3mr2035859igb.57.1349796215098; Tue, 09 Oct 2012 08:23:35 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp73080igt; Tue, 9 Oct 2012 08:23:34 -0700 (PDT) Received: by 10.216.207.28 with SMTP id m28mr2381773weo.52.1349796213471; Tue, 09 Oct 2012 08:23:33 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.17.10]) by mx.google.com with ESMTPS id d9si24576197wec.29.2012.10.09.08.23.33 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Oct 2012 08:23:33 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.17.10 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.17.10; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.17.10 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de Received: from klappe2.boeblingen.de.ibm.com (deibp9eh1--blueice3n2.emea.ibm.com [195.212.29.180]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LyUFS-1TPaCu0zbC-015H21; Tue, 09 Oct 2012 17:23:26 +0200 From: Arnd Bergmann To: Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Catalin Marinas , Michal Marek Subject: [PATCH 7/9] ARM: be really quiet when building with 'make -s' Date: Tue, 9 Oct 2012 17:23:01 +0200 Message-Id: <1349796183-30648-8-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349796183-30648-1-git-send-email-arnd@arndb.de> References: <1349796183-30648-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:/qjgPhakgrseN5Rga0tvWVR+H47xvssfmI8IQKFjM/z 2fQb571w3IgjIL5/4BetZt5g7RF+4eWA9bbpWA/iuHsZx+EoPY UbRiNYALzWToYEnfHdDCbkQuyCmYLEJeU+i0sFAWVVk36VLTQc ARx3ESyTqboJ4gU9EiYiml25FA11pTbTYb9on58Huud/p2VEdd DJd7Tx1RSOPu41hBY7LJN8DuEwxx01dTAJjdRgOcJYxBO1RbMt k3fQEJP+aq+bgx/X4JrydsaWJ87uW5VLMCh0/oozfPV4xKjKow XNW6n412v4pOTCiF25kfPqzcJiu3GdNnkYLAhmSYOePzPO9o6e 1zEcI1IWgUt2yeIojudQupT0f43lSPRWNfLa2cQ2SttOcgIJmp 9NDjKGjWWDfS2NABSA6OdetlmtNsZKue2k= X-Gm-Message-State: ALoCoQnKNgq0ZGddlq/qx8Q3mufw7+4NFsDXZJbtKX5fOHb1Cc22cbRucdxXcIjGqTumcPwVXVJE Sometimes we want the kernel build process to only print messages on errors, e.g. in automated build testing. This uses the "kecho" macro that the build system provides to hide a few informational messages. Nothing changes for a regular "make" or "make V=1". Without this patch, building any ARM kernel results in: Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready Signed-off-by: Arnd Bergmann Acked-by: Nicolas Pitre Cc: Russell King Cc: Catalin Marinas Cc: Michal Marek --- arch/arm/boot/Makefile | 10 +++++----- arch/arm/tools/Makefile | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile index 3fdab01..f2aa09e 100644 --- a/arch/arm/boot/Makefile +++ b/arch/arm/boot/Makefile @@ -33,7 +33,7 @@ ifeq ($(CONFIG_XIP_KERNEL),y) $(obj)/xipImage: vmlinux FORCE $(call if_changed,objcopy) - @echo ' Kernel: $@ is ready (physical address: $(CONFIG_XIP_PHYS_ADDR))' + $(kecho) ' Kernel: $@ is ready (physical address: $(CONFIG_XIP_PHYS_ADDR))' $(obj)/Image $(obj)/zImage: FORCE @echo 'Kernel configured for XIP (CONFIG_XIP_KERNEL=y)' @@ -48,14 +48,14 @@ $(obj)/xipImage: FORCE $(obj)/Image: vmlinux FORCE $(call if_changed,objcopy) - @echo ' Kernel: $@ is ready' + $(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) - @echo ' Kernel: $@ is ready' + $(kecho) ' Kernel: $@ is ready' endif @@ -90,7 +90,7 @@ fi $(obj)/uImage: $(obj)/zImage FORCE @$(check_for_multiple_loadaddr) $(call if_changed,uimage) - @echo ' Image $@ is ready' + $(kecho) ' Image $@ is ready' $(obj)/bootp/bootp: $(obj)/zImage initrd FORCE $(Q)$(MAKE) $(build)=$(obj)/bootp $@ @@ -98,7 +98,7 @@ $(obj)/bootp/bootp: $(obj)/zImage initrd FORCE $(obj)/bootpImage: $(obj)/bootp/bootp FORCE $(call if_changed,objcopy) - @echo ' Kernel: $@ is ready' + $(kecho) ' Kernel: $@ is ready' PHONY += initrd FORCE initrd: diff --git a/arch/arm/tools/Makefile b/arch/arm/tools/Makefile index 635cb18..cd60a81 100644 --- a/arch/arm/tools/Makefile +++ b/arch/arm/tools/Makefile @@ -5,6 +5,6 @@ # include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types - @echo ' Generating $@' + $(kecho) ' Generating $@' @mkdir -p $(dir $@) $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }