diff options
author | Jens Rehsack <rehsack@gmail.com> | 2015-11-19 20:43:44 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-01-06 13:27:21 +0100 |
commit | fd66e4713e03a5ff9962dfd439033d1ee3e102ca (patch) | |
tree | c07b6ea9816b20e047fe56ce5f31412d72d37a56 /meta-oe/classes | |
parent | 03491cecc55936c49c587b44ea71899cef29baf8 (diff) | |
download | meta-openembedded-contrib-fd66e4713e03a5ff9962dfd439033d1ee3e102ca.tar.gz |
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.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/classes/waf-samba.bbclass b/meta-oe/classes/waf-samba.bbclass index b5b85e6f2f2..a8b3b952956 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} } |