diff options
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 51f5597eb9..90bbed25c7 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -97,6 +97,13 @@ EXTRA_OEMAKE += "\ | |||
97 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ | 97 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ |
98 | " | 98 | " |
99 | 99 | ||
100 | # During do_configure, we might run a 'make clean'. That often breaks | ||
101 | # when done in parallel, so disable parallelism for do_configure. Note | ||
102 | # that it has to be done this way rather than by passing -j1, since | ||
103 | # perf's build system by default ignores any -j argument, but does | ||
104 | # honour a JOBS variable. | ||
105 | EXTRA_OEMAKE_append_task-configure = " JOBS=1" | ||
106 | |||
100 | PERF_SRC ?= "Makefile \ | 107 | PERF_SRC ?= "Makefile \ |
101 | include \ | 108 | include \ |
102 | tools/arch \ | 109 | tools/arch \ |