aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Rehsack <rehsack@gmail.com>2015-11-19 20:43:44 +0100
committerArmin Kuster <akuster808@gmail.com>2016-02-06 16:56:47 -0800
commit7665832e98fa6fbab6355ac75c42869112281dc5 (patch)
treed0e9d7cff4e193d813ae8d6402847c0a1761401e
parentc70f2be562e453899ecf53eef8a0ce61eea3d05f (diff)
downloadmeta-openembedded-contrib-7665832e98fa6fbab6355ac75c42869112281dc5.tar.gz
meta-openembedded-contrib-7665832e98fa6fbab6355ac75c42869112281dc5.tar.bz2
meta-openembedded-contrib-7665832e98fa6fbab6355ac75c42869112281dc5.zip
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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/classes/waf-samba.bbclass4
1 files changed, 4 insertions, 0 deletions
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}
}