All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Prasant J <pj0585@gmail.com>
Cc: Poky Project <poky@yoctoproject.org>
Subject: Re: bitbake variable override (virtual/kernel)
Date: Mon, 28 Dec 2015 15:29:06 +0000	[thread overview]
Message-ID: <1451316546.4129.29.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAA2DH4vhzir6+cuqzPLE3S-DW4aAYdShRxG9oAGYJz+04JrX-w@mail.gmail.com>

On Mon, 2015-12-28 at 20:54 +0530, Prasant J wrote:
> On Mon, Dec 28, 2015 at 6:58 PM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:

> Thanks for inputs!
> 
> I'm also building for imx6. Removing override may remove many other
> settings that I do not want to change.
> 
> Is it possible to extend DISTRO configuration and change
> PREFERRED_PROVIDER_virtual/kernel in the  extended configuration?

Its possible but I don't think it will do what you need. You really
need an override stronger than imx6. To be honest, I'm not sure this
"distro" include should be defining these as such strong overrides, its
really a machine setting, not a distro setting.

Anyhow, you could define your own override in MACHINEOVERRIDES or
DISTROOVERIDES which would be defined at a higher priority that the
imx6 one, then set

PREFERRED_PROVIDER_virtual/kernel_<OVERRIDE> = "x"

MACHINE is an override, so you could try that in there too:

PREFERRED_PROVIDER_virtual/kernel_<MACHINE> = "x"

Cheers,

Richard


      reply	other threads:[~2015-12-28 15:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-28 13:22 bitbake variable override (virtual/kernel) Prasant J
2015-12-28 13:28 ` Richard Purdie
2015-12-28 15:24   ` Prasant J
2015-12-28 15:29     ` Richard Purdie [this message]

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=1451316546.4129.29.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=pj0585@gmail.com \
    --cc=poky@yoctoproject.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.