diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2016-03-11 19:19:55 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-19 14:37:32 +0100 |
commit | d4a2020424168cf467872ebac95bfdf41ec788dc (patch) | |
tree | 7ebf767b5f99fe0b02f608d83661324a796bb677 /linux | |
parent | c306e0493a6e271ec5eab403958b2820635b8894 (diff) |
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" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/linux-tool-perf.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/linux-tool-perf.mk b/linux/linux-tool-perf.mk index f9b295fb1..a5fbf2197 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 \ |