summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-02 16:33:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-06 23:03:22 +0100
commite4556e5a7bc2217845cd918e1c3e91c98cf0f31a (patch)
treeed4adb6475f470e13b4398fd6d03928a3e3be4c2
parent43510e5c775597fd78eab5f703e447fb238403f6 (diff)
downloadpoky-e4556e5a7bc2217845cd918e1c3e91c98cf0f31a.tar.gz
waf.bbclass: add waf build system class
Add a new build system class for waf. (From OE-Core rev: 2b148b9e73f05af33ed1437358fa5322cf364651) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/waf.bbclass13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
new file mode 100644
index 0000000000..3a221e7082
--- /dev/null
+++ b/meta/classes/waf.bbclass
@@ -0,0 +1,13 @@
1waf_do_configure() {
2 ${S}/waf configure --prefix=${prefix} ${EXTRA_OECONF}
3}
4
5waf_do_compile() {
6 ${S}/waf build ${PARALLEL_MAKE}
7}
8
9waf_do_install() {
10 ${S}/waf install --destdir=${D}
11}
12
13EXPORT_FUNCTIONS do_configure do_compile do_install