All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] poky.conf: use weak assignment for WARN_QA and ERROR_QA
       [not found] <cover.1383707515.git.Qi.Chen@windriver.com>
@ 2013-11-06  3:13 ` Qi.Chen
  2013-11-22  5:06   ` ChenQi
  0 siblings, 1 reply; 2+ messages in thread
From: Qi.Chen @ 2013-11-06  3:13 UTC (permalink / raw)
  To: poky

From: Chen Qi <qi.chen@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@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] poky.conf: use weak assignment for WARN_QA and ERROR_QA
  2013-11-06  3:13 ` [PATCH 1/1] poky.conf: use weak assignment for WARN_QA and ERROR_QA Qi.Chen
@ 2013-11-22  5:06   ` ChenQi
  0 siblings, 0 replies; 2+ messages in thread
From: ChenQi @ 2013-11-22  5:06 UTC (permalink / raw)
  To: poky

ping

On 11/06/2013 11:13 AM, Qi.Chen@windriver.com wrote:
> From: Chen Qi <qi.chen@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@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 \



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-22  5:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1383707515.git.Qi.Chen@windriver.com>
2013-11-06  3:13 ` [PATCH 1/1] poky.conf: use weak assignment for WARN_QA and ERROR_QA Qi.Chen
2013-11-22  5:06   ` ChenQi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.