All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/perf: fix silent build with 'make -s'
@ 2018-12-17 11:47 Konstantin Khlebnikov
  2018-12-17 13:39 ` Konstantin Khlebnikov
  0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Khlebnikov @ 2018-12-17 11:47 UTC (permalink / raw)
  To: linux-kernel, Arnaldo Carvalho de Melo; +Cc: Peter Zijlstra

tools/perf/Makefile conflicts with option '-j'.
The rest options must be passed as is.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
---
 tools/perf/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 7902a5681fc8..989c3d2f847b 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -16,7 +16,7 @@
 #
 # We don't want to pass along options like -j:
 #
-unexport MAKEFLAGS
+MAKEFLAGS := $(filter --j% -j,$(MAKEFLAGS))
 
 #
 # Do a parallel build with multiple jobs, based on the number of CPUs online


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-17 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-17 11:47 [PATCH] tools/perf: fix silent build with 'make -s' Konstantin Khlebnikov
2018-12-17 13:39 ` Konstantin Khlebnikov
2018-12-17 14:28   ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.