Skip to contentSkip to conversation

waf-samba: enable parallel builds

PATCH In review Jens Rehsack 1 participant 1 message Nov 19, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 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.

---
 meta-oe/classes/waf-samba.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/classes/waf-samba.bbclass +4 -0
index b5b85e6..a8b3b95 100644
@@ -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}
 }
Signature · 4 lines
1.9.1

-- 
Jens Rehsack - [email protected]