From fd66e4713e03a5ff9962dfd439033d1ee3e102ca Mon Sep 17 00:00:00 2001 From: Jens Rehsack Date: Thu, 19 Nov 2015 20:43:44 +0100 Subject: 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 Signed-off-by: Martin Jansa --- meta-oe/classes/waf-samba.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-oe/classes') diff --git a/meta-oe/classes/waf-samba.bbclass b/meta-oe/classes/waf-samba.bbclass index b5b85e6f2f..a8b3b95295 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} } -- cgit 1.2.3-korg