aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2017-12-07 10:57:35 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-02 17:24:13 +0000
commitc81e6386d6cf24eb6825ddd551d71a4660242fde (patch)
treea7ed6d971e24e137bc9ec617a511f20e519c85de
parentbb6a45bc7e122c61386d0657e7c97895d1697bd7 (diff)
downloadopenembedded-core-c81e6386d6cf24eb6825ddd551d71a4660242fde.zip
openembedded-core-c81e6386d6cf24eb6825ddd551d71a4660242fde.tar.gz
openembedded-core-c81e6386d6cf24eb6825ddd551d71a4660242fde.tar.bz2
waf.bbclass: Add compile progress
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/waf.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
index acbda27..c3e744e 100644
--- a/meta/classes/waf.bbclass
+++ b/meta/classes/waf.bbclass
@@ -44,6 +44,7 @@ waf_do_configure() {
${S}/waf configure --prefix=${prefix} ${WAF_EXTRA_CONF} ${EXTRA_OECONF}
}
+do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+"
waf_do_compile() {
${S}/waf build ${@get_waf_parallel_make(d)}
}