poky.conf: use weak assignment for WARN_QA and ERROR_QA
PATCH 1/1 poky.conf: use weak assignment for WARN_QA and ERROR_QA
In reply to a message not in the archiveFrom: Chen Qi <[email protected]>
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 <[email protected]>
--- meta-yocto/conf/distro/poky.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-yocto/conf/distro/poky.conf +2 -2
@@ -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 \
Signature · 1 line
1.7.9.5
ping
Quoted 29 lines · On 11/06/2013 11:13 AM, [email protected] wrote:
From: Chen Qi <[email protected]>
Use weak assignment for
WARN_QAandERROR_QAin 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_QAandERROR_QAin local.conf if we don't use weak assignment in poky.conf.Signed-off-by Chen Qi <[email protected]>--- meta-yocto/conf/distro/poky.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-yocto/conf/distro/poky.conf +2
-2@@ -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 \