Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753990AbdGSM4F (ORCPT ); Wed, 19 Jul 2017 08:56:05 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:65212 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753906AbdGSM4C (ORCPT ); Wed, 19 Jul 2017 08:56:02 -0400 From: Arnd Bergmann To: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Matt Fleming Subject: [PATCH 5/8] x86: silence build with "make -s" Date: Wed, 19 Jul 2017 14:53:03 +0200 Message-Id: <20170719125310.2487451-6-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170719125310.2487451-1-arnd@arndb.de> References: <20170719125310.2487451-1-arnd@arndb.de> X-Provags-ID: V03:K0:uzb+PWGO8p2kmht8vaIb3RfCrrOYyJgQJJ1ODzXoUDA4Ifn0mwE PIOUGWGMlYfFyLqv6EKmvryoQxXOKgGF1RTFj0+InYIxO0ONuu6Vlf2M03cys4R4HtKJWlL DXvR1knX9ljtG480NH3hKqQS/0FToC1M+kQmTc9DlQCee5Ci1KJzWjcdD7kVI+LWPyohmJj BNTtPDGepyEf5D69Py4UA== X-UI-Out-Filterresults: notjunk:1;V01:K0:zDksyxqqaoc=:WDwqKTETk6bbVBFO0CbcK2 ZA+EAzi56k9QxA9O7h5ZU09zuBw7eFarveD/mqP75ToNaKtKZp4coa+KpaJEJB67c/rszPY7D gAmcXGjcgcLR1pLqSSUrhHIbAm+ybwxFCLrM9UPDefzUVESgOZbr+YOrRJeYlT/fA68JLaV8T pRID11XrNRagedzT3HEc87Et65epBkGndLamoV4Wq4hPrX0dNS1S0uLF/oXGmZd1clvbG4gaG iTypOgDjtd/z6DXfrsxzmNwcV6a+BLndWofaOgjNomXkOQ8cZuE+rJWMGT5fb3uo2pJ8CxTAP x3ru2gJ6W5+GH0m+kI331HcfxagdZdNFXsb3dZZL5cyggxJEUJpWTm7VQjBEm261vWbwFcV7X B4bQD8zqxJ96W9qxD33lrI2K9nUFcNni6bz9DM90wMYeAAxl2BpvzG5MEUSiqIt1fWF10KTXj lbOPaAL/dJSjQH7ZP95cHf5a9OW2ubHFq6cZZrnHzYJfzOkSHld8UH7KJoZU8dxCtdeO0piFV bKE7EKOM9pv3SWmvOt33tMFVB6btUq+87JJh4NHLVqGb7rf5IVbnJ4oFzT1Usz0gZitacdPux nZEakJLSxpNmFg73mgwMxtdIL1t7ZSi0CC07gKLEhrN6Rm827iznGRL8U13Sw7pzmM7m4ZaFW aVhVGX0kdxpcqbZ5cmq6ldBsU8EL/6bcX/QAdpLLm/MFg3bYHS0FzoEO7WweoeIQ7KtX3lFtj BaAfpvpbKWi/4ia5BoscxjCa5xRgKOEECoN52A== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1263 Lines: 38 Every kernel build on x86 will result in some output: Setup is 13084 bytes (padded to 13312 bytes). System is 4833 kB CRC 6d35fa35 Kernel: arch/x86/boot/bzImage is ready (#2) This shuts it up, so that 'make -s' is truely silent as long as everything works. Building without '-s' should produce unchanged output. Signed-off-by: Arnd Bergmann --- arch/x86/boot/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile index 0d810fb15eac..d88a2fddba8c 100644 --- a/arch/x86/boot/Makefile +++ b/arch/x86/boot/Makefile @@ -73,12 +73,13 @@ UBSAN_SANITIZE := n $(obj)/bzImage: asflags-y := $(SVGA_MODE) quiet_cmd_image = BUILD $@ +silent_redirect_image = >/dev/null cmd_image = $(obj)/tools/build $(obj)/setup.bin $(obj)/vmlinux.bin \ - $(obj)/zoffset.h $@ + $(obj)/zoffset.h $@ $($(quiet)redirect_image) $(obj)/bzImage: $(obj)/setup.bin $(obj)/vmlinux.bin $(obj)/tools/build FORCE $(call if_changed,image) - @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' + @$(kecho) 'Kernel: $@ is ready' ' (#'`cat .version`')' OBJCOPYFLAGS_vmlinux.bin := -O binary -R .note -R .comment -S $(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE -- 2.9.0