Skip to contentSkip to conversation

poky.conf: use logic to edit WARN_QA and ERROR_QA

PATCH New Ross Burton 1 participant 1 message Feb 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky.conf: use logic to edit WARN_QA and ERROR_QA

Instead of overriding WARN_QA and ERROR_QA, edit the defaults to remove specific tests from WARN_QA and add them to ERROR_QA.

This should avoid tests being added to poky.conf but not insane.bbclass (unknown-configure-option wasn't enabled in oe-core), or vice versa (infodir wasn't enabled in Poky).

---
 meta-yocto/conf/distro/poky.conf |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
meta-yocto/conf/distro/poky.conf +5 -7
index 9cb2f3a..479182f 100644
@@ -100,10 +100,8 @@ OELAYOUT_ABI = "10"
 INHERIT += "poky-sanity"
 
 # QA check settings - a little stricter than the OE-Core defaults
-WARN_QA = "textrel files-invalid incompatible-license xorg-driver-abi libdir \
-           unknown-configure-option build-deps file-rdeps"
-ERROR_QA = "dev-so debug-deps dev-deps debug-files arch pkgconfig la perms \
-            useless-rpaths rpaths staticdev ldflags pkgvarcheck already-stripped \
-            compile-host-path dep-cmp installed-vs-shipped install-host-path \
-            packages-list perm-config perm-line perm-link pkgv-undefined \
-            pn-overrides split-strip var-undefined version-going-backwards"
+WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \
+                    installed-vs-shipped ldflags pn-overrides rpaths staticdev \
+                    useless-rpaths"
+WARN_QA_remove = "${WARN_TO_ERROR_QA}"
+ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
Signature · 1 line
1.7.10.4