1
0
Fork 0
remarkable-linux/tools
Josh Poimboeuf afdfe5f58f tools build: Add tools tree support for 'make -s'
commit e572d08871 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:05:52 +01:00
..
accounting tools: move accounting tool from Documentation 2016-09-23 13:07:15 -06:00
arch KPTI: Rename to PAGE_TABLE_ISOLATION 2018-01-05 15:46:35 +01:00
build tools build: Add tools tree support for 'make -s' 2018-02-25 11:05:52 +01:00
cgroup cgroups: fix cgroup_event_listener error handling 2013-01-08 10:00:44 -08:00
firewire tools/firewire: nosy-dump: check for allocation failure 2012-12-02 20:10:18 +01:00
gpio tools/gpio: Fix build error with musl libc 2018-02-03 17:05:34 +01:00
hv hv: kvp: Avoid reading past allocated blocks from KVP file 2017-12-14 09:28:11 +01:00
iio Second set of iio new device support, features and cleanups for the 4.9 cycle. 2016-09-14 20:42:03 +02:00
include tools include: Do not use poison with C++ 2017-12-09 22:01:49 +01:00
kvm/kvm_stat tools: kvm_stat: Add comments 2016-05-25 16:12:06 +02:00
laptop tools: move laptops dslm tool from Documentation 2016-09-23 13:07:21 -06:00
lguest tools/lguest: Don't bork the terminal in case of wrong args 2016-09-08 08:05:24 +02:00
lib tools lib traceevent: Fix prev/next_prio for deadline tasks 2017-08-06 18:59:48 -07:00
net tools: bpf_jit_disasm: check for klogctl failure 2016-05-08 23:32:59 -04:00
nfsd NFSD: Added fault injection script 2011-11-07 21:10:47 -05:00
objtool objtool: Improve error message for bad file argument 2018-01-23 19:57:05 +01:00
pcmcia tools: move pcmcia crc32hash tool from Documentation 2016-09-23 13:07:27 -06:00
perf perf bench numa: Fixup discontiguous/sparse numa nodes 2018-02-25 11:05:46 +01:00
power cpupower : Fix cpupower working when cpu0 is offline 2018-02-03 17:05:35 +01:00
scripts tools build: Add tools tree support for 'make -s' 2018-02-25 11:05:52 +01:00
spi Merge remote-tracking branches 'spi/topic/ti-qspi', 'spi/topic/tools', 'spi/topic/txx9' and 'spi/topic/xlp' into spi-next 2016-09-30 09:14:22 -07:00
testing selftests/x86/mpx: Fix incorrect bounds with old _sigfault 2018-02-22 15:43:54 +01:00
thermal/tmon tools/thermal: tmon: use pkg-config also for CFLAGS 2015-10-10 11:32:31 +08:00
time tools: add script to test udelay 2014-07-23 10:16:38 -07:00
usb usbip: list: don't list devices attached to vhci_hcd 2018-02-03 17:05:42 +01:00
virtio tools/virtio/ringtest: fix run-on-all.sh for offline cpus 2017-01-26 08:24:46 +01:00
vm tools/vm/page_owner: increase temporary buffer size 2016-07-26 16:19:19 -07:00
Makefile tools/gpio: add install section 2016-06-23 11:07:13 +02:00