diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-03-04 03:06:04 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-07 13:30:26 +0100 |
commit | c10c1c0cfd7f48a0469aa5ab1f88499c39d96f01 (patch) | |
tree | 8da311a7628287c69abcbe50b9c4647172031a19 /meta-oe/classes | |
parent | 1bbb552e9601e2415a0c81587782f6fcb92257ac (diff) | |
download | meta-openembedded-c10c1c0cfd7f48a0469aa5ab1f88499c39d96f01.tar.gz |
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.bbclass | 1 |
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() { | |||
75 | fi | 75 | fi |
76 | } | 76 | } |
77 | 77 | ||
78 | do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" | ||
78 | meson_do_compile() { | 79 | meson_do_compile() { |
79 | ninja ${PARALLEL_MAKE} | 80 | ninja ${PARALLEL_MAKE} |
80 | } | 81 | } |