[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170125151257.GO6500@twins.programming.kicks-ass.net>
Date: Wed, 25 Jan 2017 16:12:57 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
linux-kernel@...r.kernel.org, Jiri Olsa <jolsa@...nel.org>,
Michal Marek <mmarek@...e.com>, Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH v2] tools build: add tools tree support for 'make -s'
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 <peterz@...radead.org>
> Signed-off-by: Josh Poimboeuf <jpoimboe@...hat.com>
Awesome, seems to work!
Tested-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Powered by blists - more mailing lists