From d4a2020424168cf467872ebac95bfdf41ec788dc Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Fri, 11 Mar 2016 19:19:55 +0100 Subject: [PATCH] linux/perf: honour the number of parallel jobs perf does not honour the -j flags we pass to make; it yet again tries to reinvent the wheel and by default uses the number of CPUs as the number of parallel jobs. Fortunately, in their infinite wisdom, the insane developpers of the perf buildsystem were kind enough to provide us with a variable we can set to specify the number of parallel jobs. Signed-off-by: "Yann E. MORIN" Cc: Thomas De Schampheleire Signed-off-by: Thomas Petazzoni --- linux/linux-tool-perf.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/linux-tool-perf.mk b/linux/linux-tool-perf.mk index f9b295fb13..a5fbf2197c 100644 --- a/linux/linux-tool-perf.mk +++ b/linux/linux-tool-perf.mk @@ -16,6 +16,7 @@ endif PERF_MAKE_FLAGS = \ $(LINUX_MAKE_FLAGS) \ + JOBS=$(PARALLEL_JOBS) \ ARCH=$(PERF_ARCH) \ NO_LIBAUDIT=1 \ NO_NEWT=1 \ -- 2.30.2