summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2017-12-07 10:57:35 -0600
committerArmin Kuster <akuster808@gmail.com>2018-03-01 20:54:45 -0800
commitc3b4fbb4a2c527cc0b74b86b61b96a7b2d489846 (patch)
tree47f8e607d3ee007d4990a90cf4d0dfb9e8a4219b
parentcb7cf1d12377d3b9a1cc159b68fc1d841004e6dd (diff)
downloadopenembedded-core-contrib-c3b4fbb4a2c527cc0b74b86b61b96a7b2d489846.tar.gz
openembedded-core-contrib-c3b4fbb4a2c527cc0b74b86b61b96a7b2d489846.tar.bz2
openembedded-core-contrib-c3b4fbb4a2c527cc0b74b86b61b96a7b2d489846.zip
waf.bbclass: Add compile progress
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit c81e6386d6cf24eb6825ddd551d71a4660242fde) Signed-off-by: Armin Kuster <akuster808@gmail.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 acbda278a2..c3e744e5de 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)}
}