From 013f7e286d72c51b52a72fdbff6cbc875b3a15ac Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 2 Feb 2015 23:32:31 +0000 Subject: 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). (From meta-yocto rev: 32f5014c871f5fd86262fb6a87b60360b1b21d07) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta-yocto/conf/distro/poky.conf | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'meta-yocto') diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf index 9cb2f3a902..479182f56c 100644 --- a/meta-yocto/conf/distro/poky.conf +++ b/meta-yocto/conf/distro/poky.conf @@ -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}" -- cgit v1.2.3-54-g00ecf