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>
This commit is contained in:
Jens Rehsack 2015-11-19 20:43:44 +01:00 committed by Martin Jansa
parent 03491cecc5
commit fd66e4713e

View File

@ -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}
}