diff options
-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 | ||