diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2014-01-23 13:31:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-28 00:52:36 +0000 |
commit | a329371eaa6751eaf0d25f272ba4ba2107b65207 (patch) | |
tree | 4245193b06966790226366d9e04cf0f9fceea8fc /meta | |
parent | 2fedfdca12983cf3240dd7b22ae53d7ee3b2b372 (diff) | |
download | poky-a329371eaa6751eaf0d25f272ba4ba2107b65207.tar.gz |
scons bbclass: enable parallel make
Scons supports -jX parallel make, so let's use that. A small scale test of a few recipes shows no failures!
(From OE-Core rev: a3ad3602b0e8d4a6387cac3f118722af1a0781eb)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/scons.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index a07a366df8..fc0f26b17b 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclass | |||
@@ -3,7 +3,7 @@ DEPENDS += "python-scons-native" | |||
3 | EXTRA_OESCONS ?= "" | 3 | EXTRA_OESCONS ?= "" |
4 | 4 | ||
5 | scons_do_compile() { | 5 | scons_do_compile() { |
6 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \ | 6 | ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \ |
7 | bbfatal "scons build execution failed." | 7 | bbfatal "scons build execution failed." |
8 | } | 8 | } |
9 | 9 | ||