[poky] [PATCH 1/1] poky.conf: use weak assignment for WARN_QA and ERROR_QA

Qi.Chen at windriver.com Qi.Chen at windriver.com
Tue Nov 5 19:13:10 PST 2013


From: Chen Qi <qi.chen at windriver.com>

Use weak assignment for WARN_QA and ERROR_QA in the ditro configuration
file (poky.conf) to allow for override in local.conf.

As local.conf is included before the distro configuration file, we cannot
easily set custom WARN_QA and ERROR_QA in local.conf if we don't use
weak assignment in poky.conf.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta-yocto/conf/distro/poky.conf |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index 44bc4c6..c4643d2 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -101,8 +101,8 @@ OELAYOUT_ABI = "8"
 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"
-ERROR_QA = "dev-so debug-deps dev-deps debug-files arch pkgconfig la perms \
+WARN_QA ?= "textrel files-invalid incompatible-license xorg-driver-abi libdir"
+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 \
-- 
1.7.9.5




More information about the poky mailing list