[poky] [PATCH] poky.conf: use logic to edit WARN_QA and ERROR_QA
Ross Burton
ross.burton at intel.com
Wed Jan 21 09:58:48 PST 2015
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, or vice
versa.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta-yocto/conf/distro/poky.conf | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index d3aed52..de1ab7f 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -102,10 +102,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}"
--
1.7.10.4
More information about the poky
mailing list