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 92e7d96504..6fd23d63e3 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
| @@ -95,6 +95,13 @@ EXTRA_OEMAKE += "\ | |||
| 95 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ | 95 | 'infodir=${@os.path.relpath(infodir, prefix)}' \ |
| 96 | " | 96 | " |
| 97 | 97 | ||
| 98 | # During do_configure, we might run a 'make clean'. That often breaks | ||
| 99 | # when done in parallel, so disable parallelism for do_configure. Note | ||
| 100 | # that it has to be done this way rather than by passing -j1, since | ||
| 101 | # perf's build system by default ignores any -j argument, but does | ||
| 102 | # honour a JOBS variable. | ||
| 103 | EXTRA_OEMAKE_append_task-configure = " JOBS=1" | ||
| 104 | |||
| 98 | PERF_SRC ?= "Makefile \ | 105 | PERF_SRC ?= "Makefile \ |
| 99 | include \ | 106 | include \ |
| 100 | tools/arch \ | 107 | tools/arch \ |
