From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751619AbdAYPNE (ORCPT ); Wed, 25 Jan 2017 10:13:04 -0500 Received: from merlin.infradead.org ([205.233.59.134]:54148 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751498AbdAYPND (ORCPT ); Wed, 25 Jan 2017 10:13:03 -0500 Date: Wed, 25 Jan 2017 16:12:57 +0100 From: Peter Zijlstra To: Josh Poimboeuf Cc: Arnaldo Carvalho de Melo , 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: <20170125151257.GO6500@twins.programming.kicks-ass.net> References: <768b3af12da974282bbc0274550e74763d8fae78.1484797054.git.jpoimboe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)