aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorJens Rehsack <rehsack@gmail.com>2015-11-19 20:43:44 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-01-06 13:27:21 +0100
commitfd66e4713e03a5ff9962dfd439033d1ee3e102ca (patch)
treec07b6ea9816b20e047fe56ce5f31412d72d37a56 /meta-oe/classes
parent03491cecc55936c49c587b44ea71899cef29baf8 (diff)
downloadmeta-openembedded-fd66e4713e03a5ff9962dfd439033d1ee3e102ca.tar.gz
meta-openembedded-fd66e4713e03a5ff9962dfd439033d1ee3e102ca.tar.bz2
meta-openembedded-fd66e4713e03a5ff9962dfd439033d1ee3e102ca.zip
waf-samba: enable parallel builds
Instead of relying on sequencial waf build invoked by make, invoke waf as documented with default switch for building in parallel. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/waf-samba.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/classes/waf-samba.bbclass b/meta-oe/classes/waf-samba.bbclass
index b5b85e6f2..a8b3b9529 100644
--- a/meta-oe/classes/waf-samba.bbclass
+++ b/meta-oe/classes/waf-samba.bbclass
@@ -45,6 +45,10 @@ do_configure() {
./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} --cross-compile --cross-execute="${CROSS_EXEC}"
}
+do_compile () {
+ python ./buildtools/bin/waf ${PARALLEL_MAKE}
+}
+
do_install() {
oe_runmake install DESTDIR=${D}
}