From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752878AbdAZTbV (ORCPT ); Thu, 26 Jan 2017 14:31:21 -0500 Received: from mail.kernel.org ([198.145.29.136]:55754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752257AbdAZTbU (ORCPT ); Thu, 26 Jan 2017 14:31:20 -0500 Date: Thu, 26 Jan 2017 16:30:25 -0300 From: Arnaldo Carvalho de Melo To: Peter Zijlstra Cc: Josh Poimboeuf , linux-kernel@vger.kernel.org, Jiri Olsa , Michal Marek , Ingo Molnar Subject: Re: [PATCH v2] tools build: add tools tree support for 'make -s' Message-ID: <20170126193025.GA17504@kernel.org> References: <768b3af12da974282bbc0274550e74763d8fae78.1484797054.git.jpoimboe@redhat.com> <20170125151257.GO6500@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170125151257.GO6500@twins.programming.kicks-ass.net> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jan 25, 2017 at 04:12:57PM +0100, Peter Zijlstra escreveu: > On Wed, Jan 18, 2017 at 10:16:55PM -0600, Josh Poimboeuf wrote: > > When doing a kernel build with 'make -s', everything is silenced except > > the objtool build. That's because the tools tree support for silent > > builds is some combination of missing and broken. > > > > Three changes are needed to fix it: > > > > - Makefile: propagate '-s' to the sub-make's MAKEFLAGS variable so the > > tools Makefiles can see it. > > > > - tools/scripts/Makefile.include: fix the tools Makefiles' ability to > > recognize '-s'. The MAKE_VERSION and MAKEFLAGS checks are copied from > > the top-level Makefile. This silences the "DESCEND objtool" message. > > > > - tools/build/Makefile.build: add support to the tools Build files for > > recognizing '-s'. Again the MAKE_VERSION and MAKEFLAGS checks are > > copied from the top-level Makefile. This silences all the object > > compile/link messages. > > > > Reported-by: Peter Zijlstra > > Signed-off-by: Josh Poimboeuf > > Awesome, seems to work! > > Tested-by: Peter Zijlstra (Intel) Thanks, applied. - Arnaldo