From patchwork Fri Oct 5 14:55:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12015 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 AE9E123E57 for ; Fri, 5 Oct 2012 14:56:16 +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 E0177A190E1 for ; Fri, 5 Oct 2012 14:56:15 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so3893159iej.11 for ; Fri, 05 Oct 2012 07:56:15 -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=yOeesG2NOmlLvr0jP4n0a/P0qMT1rzeBWycXqY32wjE=; b=jj6n7YfgLuopWUL0ab9rlMOkMdfnsTIsvLBgweZqn0cW6Nyk/JhR9NSf/YpJ/w6XeB Wr0Ae2yFjZRY9oy+SohO9s0mFRshzc6Tnqu0GiEio7fG9/gw9DQ9SZaC50ASfcaG9dvd rvufdBXSDaRdZVsNrvd33ltEmJtgSaDc1CMFSk3gDYI1tmlMelp8aYwziR3d6UEK/GEI 9uTaWuhFj3+wK4pNRG9XxPIK8Y8S0zj0Xh5JafLZx5ASmxrrD5WLsl6sk/0ZcuQQR46/ 0SxGJPyxTxlzcd8JhlONNgfKpp0QWdS4GqsgkWbIZtdG/0UZK2P+3ai3uXUcWbNyCDKA YiFQ== Received: by 10.50.150.198 with SMTP id uk6mr1380020igb.43.1349448975142; Fri, 05 Oct 2012 07:56:15 -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.184.232 with SMTP id ex8csp130646igc; Fri, 5 Oct 2012 07:56:14 -0700 (PDT) Received: by 10.180.79.34 with SMTP id g2mr3896779wix.19.1349448973358; Fri, 05 Oct 2012 07:56:13 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.17.8]) by mx.google.com with ESMTPS id p3si6491320wed.93.2012.10.05.07.56.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Oct 2012 07:56:13 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.17.8 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.17.8; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.17.8 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=mreu3) with ESMTP (Nemesis) id 0MdRyx-1T2D3d0xQB-00IWLX; Fri, 05 Oct 2012 16:55:50 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, arm@kernel.org, Arnd Bergmann , Russell King , Nicolas Pitre , Catalin Marinas , Michal Marek Subject: [PATCH 13/16] ARM: be really quiet when building with 'make -s' Date: Fri, 5 Oct 2012 16:55:27 +0200 Message-Id: <1349448930-23976-14-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349448930-23976-1-git-send-email-arnd@arndb.de> References: <1349448930-23976-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:ftXxDaJp4PN0ddyAoNt7sOaXXXWhtkNOxo0xfdoJP2k gpWyxov58UW8Mx4br9Oik8ult3G8IZhzfqUGUM+8DsQ14Womg2 drFrbc6cnfvDVi74KyLdiNyEXOoHaR4y4TTvf2xgPTlwK1L0pB 9IZ1tyD8bRw2a8l5pvQv+K/M5a+7octjTFHNNHog/NFIC5JJRV I249/Yr5AeNyrtqddMLIP97fxxki+ZHB9ztDo1If7fQ4ZlxnFY bTaQAU89dYjZsTS5Ffb6meJYOJtuBCywgZ4oylFjXh62v+VaIQ oMAVqUOqUDPDLCZNEFvG/eryi2ikasvXXyeZftthji//q647gI sJ69Kojqt8ZIXmuQxjDsPZgXDBJKTdWlD2c29bXjsuedDrphcf 0UTs6vFZsoUOxjjTpivHwNtImIOrQvYD9o= X-Gm-Message-State: ALoCoQkBRGMu+2qukC+jk09lHoo5hRg08kLiL5rOeBlNMCqE+OCfwk0Zw64Tf9rIS7lhHNu3K8cV 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 Cc: Russell King Cc: Nicolas Pitre 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 c877087..89680f2 100644 --- a/arch/arm/boot/Makefile +++ b/arch/arm/boot/Makefile @@ -31,7 +31,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)' @@ -46,14 +46,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 @@ -88,7 +88,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 $@ @@ -96,7 +96,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; }