linux_dsm_epyc7002/tools/build
Josh Poimboeuf e572d08871 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>
2017-01-26 16:29:00 -03:00
..
Documentation tools build: Add CFLAGS_REMOVE_* support 2016-11-14 11:37:25 -03:00
feature perf build: Check LLVM version in feature check 2016-12-06 13:21:55 -03:00
tests tools build: Build fixdep helper from perf and basic libs 2015-09-28 15:50:55 -03:00
.gitignore perf build: Add fixdep to .gitignore 2015-10-20 10:43:28 -03:00
Build tools build: Make fixdep a hostprog 2016-10-03 11:40:35 -03:00
Build.include tools build: Move tabs to spaces where suitable 2016-12-05 16:06:03 -03:00
fixdep.c tools build: Make fixdep parsing wait for last target 2016-12-05 15:51:42 -03:00
Makefile make use of make variable CURDIR instead of calling pwd 2016-12-11 12:12:56 +01:00
Makefile.build tools build: Add tools tree support for 'make -s' 2017-01-26 16:29:00 -03:00
Makefile.feature tools build: Move tabs to spaces where suitable 2016-12-05 16:06:03 -03:00
Makefile.include tools build: Make fixdep a hostprog 2016-10-03 11:40:35 -03:00