[poky] bitbake variable override (virtual/kernel)

Richard Purdie richard.purdie at linuxfoundation.org
Mon Dec 28 07:29:06 PST 2015


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 at 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


More information about the poky mailing list