[meta-freescale] Can't select my own Kernel source

filip.ghimpeteanu at freescale.com filip.ghimpeteanu at freescale.com
Fri Aug 8 00:05:33 PDT 2014


Hi Max

This is the output:
----------------------------------------------------
# $PREFERRED_PROVIDER_virtual/kernel [3 operations]
#   set /home/filip/YOCTO_DISK/fsl-arm-bsp/vybrid2/conf/local.conf:39
#     "linux-yocto-myproj"
#   set /home/filip/YOCTO_DISK/fsl-arm-bsp/sources/meta-fsl-arm/conf/machine/include/fsl-default-providers.inc:4
#     [defaultval] "linux-imx"
#   set? /home/filip/YOCTO_DISK/fsl-arm-bsp/sources/meta-fsl-arm/conf/machine/twr-vf65gs10.conf:12
#     "linux-timesys"
# computed:
#   "linux-yocto-myproj"
PREFERRED_PROVIDER_virtual/kernel="linux-yocto-myproj"
--------------------------------------------------------------

So from my output it turns out that it uses my version. Right?

Filip.


Hi Filip


> I had both of them added to the local.conf.
> 
You could check to what bitbake evaluates variables and from what file it takes its decision from with the -e switch. I guess in your case some file other than local.conf takes precedence and gets to choose linux-timesys over linux-yocto-myproj.

e.g.
MACHINE=twr-vf65gs10 bitbake virtual/kernel -e > dump.txt

and then search in dump.txt for PREFERRED_PROVIDER_virtual/kernel

----
#
# $PREFERRED_PROVIDER_virtual/kernel [2 operations]
#   set .. meta-fsl-arm/conf/machine/include/fsl-default-providers.inc:4
#     [defaultval] "linux-imx"
#   set? .. meta-fsl-arm/conf/machine/twr-vf65gs10.conf:12
#     "linux-timesys"
# computed:
#   "linux-timesys"
PREFERRED_PROVIDER_virtual/kernel="linux-timesys"
----

Regards
Max

--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list