All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 2/3] waf-samba: enable parallel builds
@ 2015-11-10 21:22 Jens Rehsack
  0 siblings, 0 replies; only message in thread
From: Jens Rehsack @ 2015-11-10 21:22 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Volker Mösker, Tobias Theophile


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>
---
 meta-oe/classes/waf-samba.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/classes/waf-samba.bbclass b/meta-oe/classes/waf-samba.bbclass
index b5b85e6..a8b3b95 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}
 }
-- 
1.9.1

-- 
Jens Rehsack - rehsack@gmail.com



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-10 21:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-10 21:22 [meta-oe][PATCH 2/3] waf-samba: enable parallel builds Jens Rehsack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.