[PATCH] tools/perf: fix silent build with 'make -s'
From: Konstantin Khlebnikov
Date: Mon Dec 17 2018 - 06:52:24 EST
tools/perf/Makefile conflicts with option '-j'.
The rest options must be passed as is.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>
---
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