All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake variable override (virtual/kernel)
@ 2015-12-28 13:22 Prasant J
  2015-12-28 13:28 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Prasant J @ 2015-12-28 13:22 UTC (permalink / raw)
  To: Poky Project

[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]

Hi,

I'm putting together my custom layer with my machine configuration. I have
set PREFERRED_PROVIDER_virtual/kernel to build my kernel but it is always
overridden by distro configuration. Below is the output of bitbake
environment:


# $PREFERRED_PROVIDER_virtual/kernel [6 operations]
#   set
/home/user/fsl-L3.14.52_1.1.0_ga/fsl-release-bsp/sources/meta-fsl-arm/conf/machine/include/imx-base.inc:117
#     [_defaultval] "linux-imx"
#   finalize ast.py:325 [finalize]
#     "was: linux-imx"
#   override[mx6]:set
/home/user/fsl-L3.14.52_1.1.0_ga/fsl-release-bsp/build-fb/conf/local.conf:26
#     "linux-myboard-imx6"
#   override[mx6]:set
/home/user/fsl-L3.14.52_1.1.0_ga/fsl-release-bsp/sources/mylayer/meta-newlayer/conf/machine/mymachine.conf:17
#     "linux-myboard-imx6"
#   override[mx6]:set
/home/user/fsl-L3.14.52_1.1.0_ga/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/conf/distro/include/fsl-imx-preferred-env.inc:7
#     "linux-imx"
#   finalize override[mx6]:
#     "linux-imx"
# pre-expansion value:
#   "linux-imx"
PREFERRED_PROVIDER_virtual/kernel="linux-imx"



From the above it seems that distro configuration overrides my custom
machine + glocal conf/local.conf configuration.


Is it expected? So should I also create a custom DISTRO?
Is there a way to extend the DISTRO configuration and only override
virtual/kernel value?


Any input will be of help to me. Thanks!


Regards

[-- Attachment #2: Type: text/html, Size: 1936 bytes --]

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

end of thread, other threads:[~2015-12-28 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.