[oe-commits] Ross Burton : waf.bbclass: add waf build system class

git at git.openembedded.org git at git.openembedded.org
Fri Sep 6 21:59:57 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 2b148b9e73f05af33ed1437358fa5322cf364651
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2b148b9e73f05af33ed1437358fa5322cf364651

Author: Ross Burton <ross.burton at intel.com>
Date:   Mon Sep  2 16:33:10 2013 +0100

waf.bbclass: add waf build system class

Add a new build system class for waf.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/waf.bbclass |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
new file mode 100644
index 0000000..3a221e7
--- /dev/null
+++ b/meta/classes/waf.bbclass
@@ -0,0 +1,13 @@
+waf_do_configure() {
+	${S}/waf configure --prefix=${prefix} ${EXTRA_OECONF}
+}
+
+waf_do_compile()  {
+	${S}/waf build ${PARALLEL_MAKE}
+}
+
+waf_do_install() {
+	${S}/waf install --destdir=${D}
+}
+
+EXPORT_FUNCTIONS do_configure do_compile do_install



More information about the Openembedded-commits mailing list