[Buildroot] [PATCH] package/perf: fix build failures with high 'make -j' values

Steven Noonan steven at uplinklabs.net
Wed Mar 18 21:47:24 UTC 2015

The 'perf' Makefile is flaky on some kernel versions. It will still parallelize
the build even with 'make -j1' because it explicitly invokes a sub-make with
the correct flags. But the top-level make is not smart enough to handle large
'-j' values.

Signed-off-by: Steven Noonan <steven at uplinklabs.net>
 package/perf/perf.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/perf/perf.mk b/package/perf/perf.mk
index 1fcc258..f6591a6 100644
--- a/package/perf/perf.mk
+++ b/package/perf/perf.mk
@@ -22,6 +22,8 @@ PERF_MAKE_FLAGS = \
 	WERROR=0 \
 # The call to backtrace() function fails for ARC, because for some
 # reason the unwinder from libgcc returns early. Thus the usage of
 # backtrace() should be disabled in perf explicitly: at build time

More information about the buildroot mailing list