]> git.ipfire.org Git - thirdparty/linux.git/commit - Makefile
tools build: Add tools tree support for 'make -s'
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 19 Jan 2017 04:16:55 +0000 (22:16 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Jan 2017 19:29:00 +0000 (16:29 -0300)
commite572d0887137acfc53f18175522964ec19d88175
tree7733ccd37bfbd4888304469434eaed9e2bd58acd
parentbf062bd20e6c4988a9c593824ea6bb58730b6289
tools build: Add tools tree support for 'make -s'

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-and-Tested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Michal Marek <mmarek@suse.com>
Link: http://lkml.kernel.org/r/e8967562ef640c3ae9a76da4ae0f4e47df737c34.1484799200.git.jpoimboe@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Makefile
tools/build/Makefile.build
tools/scripts/Makefile.include