aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-03-04 03:06:04 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-07 13:30:26 +0100
commitc10c1c0cfd7f48a0469aa5ab1f88499c39d96f01 (patch)
tree8da311a7628287c69abcbe50b9c4647172031a19 /meta-oe/classes
parent1bbb552e9601e2415a0c81587782f6fcb92257ac (diff)
downloadmeta-openembedded-c10c1c0cfd7f48a0469aa5ab1f88499c39d96f01.tar.gz
meta-openembedded-c10c1c0cfd7f48a0469aa5ab1f88499c39d96f01.tar.bz2
meta-openembedded-c10c1c0cfd7f48a0469aa5ab1f88499c39d96f01.zip
meson.bbclass: Add progress support for do_compile()
ninja provides progress information when building so let's make use of it. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/meson.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index 5a04134f0..4be4b1068 100644
--- a/meta-oe/classes/meson.bbclass
+++ b/meta-oe/classes/meson.bbclass
@@ -75,6 +75,7 @@ meson_do_configure() {
fi
}
+do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
meson_do_compile() {
ninja ${PARALLEL_MAKE}
}