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 22:54:42 +0100 |
commit | 2b148b9e73f05af33ed1437358fa5322cf364651 (patch) | |
tree | 25b2bfbaf5f486f4cfa0ece9a92e33fe7c20932e /meta/classes | |
parent | 45d18a1b6bcdc56d252b289d0d304b26799943b0 (diff) | |
download | openembedded-core-2b148b9e73f05af33ed1437358fa5322cf364651.tar.gz openembedded-core-2b148b9e73f05af33ed1437358fa5322cf364651.tar.bz2 openembedded-core-2b148b9e73f05af33ed1437358fa5322cf364651.zip |
waf.bbclass: add waf build system class
Add a new build system class for waf.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 @@ +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 |