[oe-commits] [meta-openembedded] 06/27: waf-samba: enable parallel builds
git at git.openembedded.org
git at git.openembedded.org
Mon Feb 8 13:12:40 UTC 2016
martin_jansa pushed a commit to branch jethro-next
in repository meta-openembedded.
commit 7665832e98fa6fbab6355ac75c42869112281dc5
Author: Jens Rehsack <rehsack at gmail.com>
AuthorDate: Thu Nov 19 20:43:44 2015 +0100
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 at netbsd.org>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
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}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list