diff options
author | Ross Burton <ross.burton@intel.com> | 2013-09-02 16:33:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-06 23:03:22 +0100 |
commit | e4556e5a7bc2217845cd918e1c3e91c98cf0f31a (patch) | |
tree | ed4adb6475f470e13b4398fd6d03928a3e3be4c2 | |
parent | 43510e5c775597fd78eab5f703e447fb238403f6 (diff) | |
download | poky-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.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 0000000000..3a221e7082 --- /dev/null +++ b/meta/classes/waf.bbclass | |||
@@ -0,0 +1,13 @@ | |||
1 | waf_do_configure() { | ||
2 | ${S}/waf configure --prefix=${prefix} ${EXTRA_OECONF} | ||
3 | } | ||
4 | |||
5 | waf_do_compile() { | ||
6 | ${S}/waf build ${PARALLEL_MAKE} | ||
7 | } | ||
8 | |||
9 | waf_do_install() { | ||
10 | ${S}/waf install --destdir=${D} | ||
11 | } | ||
12 | |||
13 | EXPORT_FUNCTIONS do_configure do_compile do_install | ||