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>
This commit is contained in:
parent
43510e5c77
commit
e4556e5a7b
|
@ -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
|
Loading…
Reference in New Issue