summaryrefslogtreecommitdiff
path: root/meta/classes/scons.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-01-23 13:31:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-28 00:48:28 +0000
commita3ad3602b0e8d4a6387cac3f118722af1a0781eb (patch)
treec678f8fa1dc747f75a24ece41fce255b0a0ab2d9 /meta/classes/scons.bbclass
parent1ea04d87525f26c2cd32ba29c0f14c6226f60729 (diff)
downloadopenembedded-core-a3ad3602b0e8d4a6387cac3f118722af1a0781eb.tar.gz
openembedded-core-a3ad3602b0e8d4a6387cac3f118722af1a0781eb.tar.bz2
openembedded-core-a3ad3602b0e8d4a6387cac3f118722af1a0781eb.zip
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! Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/scons.bbclass')
-rw-r--r--meta/classes/scons.bbclass2
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"
EXTRA_OESCONS ?= ""
scons_do_compile() {
- ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
+ ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
bbfatal "scons build execution failed."
}