summaryrefslogtreecommitdiffstats
path: root/meta/classes/waf.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-02 15:33:10 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-06 22:03:22 (GMT)
commite4556e5a7bc2217845cd918e1c3e91c98cf0f31a (patch)
treeed4adb6475f470e13b4398fd6d03928a3e3be4c2 /meta/classes/waf.bbclass
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>
Diffstat (limited to 'meta/classes/waf.bbclass')
-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 0000000..3a221e7
--- /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