summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/meson.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 1ef34a999c..9c3673ea42 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -158,6 +158,15 @@ meson_do_configure_prepend_class-native() {
158 export PKG_CONFIG="pkg-config-native" 158 export PKG_CONFIG="pkg-config-native"
159} 159}
160 160
161python meson_do_qa_configure() {
162 import re
163 warn_re = re.compile(r"^WARNING: Cross property (.+) is using default value (.+)$", re.MULTILINE)
164 log = open(d.expand("${B}/meson-logs/meson-log.txt")).read()
165 for (prop, value) in warn_re.findall(log):
166 bb.warn("Meson cross property %s used without explicit assignment, defaulting to %s" % (prop, value))
167}
168do_configure[postfuncs] += "meson_do_qa_configure"
169
161do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+" 170do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
162meson_do_compile() { 171meson_do_compile() {
163 ninja -v ${PARALLEL_MAKE} 172 ninja -v ${PARALLEL_MAKE}