From patchwork Mon Feb 29 12:40:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102646 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1222611lbc; Mon, 29 Feb 2016 04:40:59 -0800 (PST) X-Received: by 10.98.72.218 with SMTP id q87mr9249709pfi.152.1456749659568; Mon, 29 Feb 2016 04:40:59 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rd7si27043939pab.90.2016.02.29.04.40.59; Mon, 29 Feb 2016 04:40:59 -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; 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 S1754014AbcB2Mk5 (ORCPT + 30 others); Mon, 29 Feb 2016 07:40:57 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:60739 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753485AbcB2Mkx (ORCPT ); Mon, 29 Feb 2016 07:40:53 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue001) with ESMTPA (Nemesis) id 0MZbzh-1aKCmf3v6D-00LGin; Mon, 29 Feb 2016 13:40:21 +0100 From: Arnd Bergmann To: Michal Marek Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] lz4c: shut up lz4c output Date: Mon, 29 Feb 2016 13:40:15 +0100 Message-Id: <1456749618-1067584-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:9zD9YQKvKNxBhVH8FxG684vSpYRorqaVQ1ZXjaPsFaXfivLvo6O qOLPcTRgMIIRZ/IST/05hEieUF0okdfdC4okCezWIBe2D9V1BJUODpKuvbfKPkFTf1Pxowp sB9asvcSU1J8MjqQkVVlC//Y6TiAe/X75H6NDEPOtRnj3rhXdnR9WbcZ88VTfG+Nrf13LHD YW1w2YZBwnea342OjelqA== X-UI-Out-Filterresults: notjunk:1; V01:K0:ILxlLvty1kw=:kGv01028QC1DuTttBF/m1W oYh49bZxQVe1TSE7pu+CVkVQmz9bZmNA3Wph5xu5bP00V5g2FR5K2P8yKK11TzVaLEFUweEn/ Lt6Axn23UpBlwuXH9Nk0grJAAt4B2gFesbrGWiuABo+3fTwP/wzUTC8rPJTAgRVpT9IrMWNCX 9U+WhMoqelJK2Stmx/R15gJ1rkTEMy+Y3DwqSY+fqd/8gdgAR/yEh0wod6A4USHuEUs5IC3bs DFgfu2QmIWOnFPXLe8xRwqFeNLGjRm3iYvMmmeM3trEmZ2WfuEcFmsMNqugYmmVOnSHqo//HM S6f/6vSmZQ8THarWKuFSephSmzSl+QUFxbMJfMT8x2RE/uC1WQ06qOD+aTrAsS+3ocxCkYJEJ yDKuBjjw5bFq/O7uErYIEW0GGVrBpfuGfg3uHyFm+tHLYKh+LZ92UOMS2TdVwTRgoIfp30A1U GB6oT43muUyImV0iM8sznMjQYA2ldqO9kGrckURIFGLop7Ctpj6uhsYr3HVTMN7ddGIrBKA31 1e3UYHC/YOS2ivXCNuC110b1KJkZw169AV7wqynWdo7AjCIJCToEymFOCBHINIxyMF4rz8Y0O N+drYC/mHIhHVu+2Lb8ci8/c2GOq40G+vN16MrcqI1efq1mF8lt2OQY3LP6KLqjN/KgAF46VM m3dFy3pCQxhUrw+8HdpN8zd0r1tcwH/OZFZyZzuCo6bCjGH8FXUDQ9WDxgej3grTxKhA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When KERNEL_LZ4 is set, we always get an output even when building with 'make -s': *** LZ4 Compression CLI , by Yann Collet (May 31 2013) *** ! Generating compressed LZ4 using Legacy format (deprecated !) ! Using stdin for input Using stdout for output Compressed 11213376 bytes into 4555781 bytes ==> 40.63% Done in 0.63 s ==> 16.97 MB/s The output is not helpful in the context of building the kernel, so this patch hides the stdout output of the lz4 binary completely. We could also try to not hide the output when building without '-s', but I could not come up with any use for that. Signed-off-by: Arnd Bergmann --- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.0 diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 31d7a73c35ce..5ab935aed8ad 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -347,7 +347,7 @@ cmd_lzo = (cat $(filter-out FORCE,$^) | \ quiet_cmd_lz4 = LZ4 $@ cmd_lz4 = (cat $(filter-out FORCE,$^) | \ - lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ + lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ 2>&1 || \ (rm -f $@ ; false) # U-Boot mkimage