]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
classes/meson: drop meson_do_qa_configure as it is non-functional
authorRoss Burton <ross.burton@arm.com>
Thu, 11 Dec 2025 17:55:42 +0000 (17:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Dec 2025 18:00:31 +0000 (18:00 +0000)
The patches to meson to add this warning were removed in 2021[1], so
remove the checks that look for them.

[1] oe-core cb2a7dcc86d ("meson: update 0.57.2 -> 0.58.0")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/meson.bbclass

index 45d43319f9ce353da425831704e0bc00e373bf0f..72dbbcb67b1db3eccef9a2d4d81557f0d111e39f 100644 (file)
@@ -184,16 +184,6 @@ meson_do_configure() {
     fi
 }
 
-python meson_do_qa_configure() {
-    import re
-    warn_re = re.compile(r"^WARNING: Cross property (.+) is using default value (.+)$", re.MULTILINE)
-    with open(d.expand("${B}/meson-logs/meson-log.txt")) as logfile:
-        log = logfile.read()
-    for (prop, value) in warn_re.findall(log):
-        bb.warn("Meson cross property %s used without explicit assignment, defaulting to %s" % (prop, value))
-}
-do_configure[postfuncs] += "meson_do_qa_configure"
-
 do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
 meson_do_compile() {
     meson compile -v ${PARALLEL_MAKE} ${MESON_TARGET}