All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Cc: Gary Thomas <gary@mlbassoc.com>
Subject: Re: [meta-browser][PATCH v2] chromium: List all PACKAGECONFIG settings to avoid warning
Date: Wed, 1 Jul 2015 16:22:24 +0800	[thread overview]
Message-ID: <5593A340.8030507@windriver.com> (raw)
In-Reply-To: <1435697730-12800-1-git-send-email-gary@mlbassoc.com>

Hi Gary,

On 07/01/2015 04:55 AM, Gary Thomas wrote:
> OE-core now warns if PACKAGECONFIG is used to set an option that
> does not have a corresponding PACKAGECONFIG[option]="xxx" line.
> This recipe makes use of many such options & this patch suppresses
> those warnings by listing the options.
>
> Signed-off-by: Gary Thomas <gary@mlbassoc.com>
> ---
>   recipes-browser/chromium/chromium.inc | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/recipes-browser/chromium/chromium.inc b/recipes-browser/chromium/chromium.inc
> index 8e83f6a..973d1c9 100644
> --- a/recipes-browser/chromium/chromium.inc
> +++ b/recipes-browser/chromium/chromium.inc
> @@ -17,6 +17,13 @@ PACKAGECONFIG ??= "use-egl"
>   # automatically and silently fall back to GLX
>   PACKAGECONFIG[use-egl] = ",,virtual/egl virtual/libgles2"
>
> +# Additional PACKAGECONFIG options - listed here to avoid warnings
> +PACKAGECONFIG[component-build] = ""
> +PACKAGECONFIG[disable-api-keys-info-bar] = ""
> +PACKAGECONFIG[ignore-lost-context] = ""
> +PACKAGECONFIG[impl-side-painting] = ""
> +PACKAGECONFIG[use-gl] = ""

Since you don't really use PACKAGECONFIG, why not use
ANY_OTHER_VALUE_YOU_LIKE rather than PACKAGECONFIG to configure it ?

// Robert


> +
>   GYP_DEFINES += "${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
>
>   do_configure() {
>


  reply	other threads:[~2015-07-01  8:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-30 20:55 [meta-browser][PATCH v2] chromium: List all PACKAGECONFIG settings to avoid warning Gary Thomas
2015-07-01  8:22 ` Robert Yang [this message]
2015-07-01 14:12   ` Gary Thomas
2015-07-01 15:47     ` Burton, Ross
2015-07-01 15:54       ` Gary Thomas
2015-07-01 19:36       ` Max Krummenacher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5593A340.8030507@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=gary@mlbassoc.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.