[yocto] Where is PREFERRED_VERSION_linux-yocto_qemux86 used?

Chris Tapp opensource at keylevel.com
Thu Sep 6 12:22:22 PDT 2012


On 6 Sep 2012, at 17:29, James Macon wrote:

> Inside of poky.conf there is a variable PREFERRED_VERSION_linux-yocto_qemux86 ?= "3.0%" 
>   
> I assume linux-yocto is the package name and qemux86 is the machine name. 
> 
> I can't find where any references PREFERRED_VERSION_linux-yocto_qemux86 are in the build. It is probably the result of multiple appends but I haven't been able to find it. 
> 
> I would like to know where the appends are and who uses it. 

You just need to know how to break the name down:

1) 'linux-yocto' is what will be built;
2) when the MACHINE is 'qemux86'.

So, PREFERRED_VERSION_linux-yocto_qemux86 ?= "3.0%" says that the 'linux-yocto_3.0x' kernel recipe (look in meta/recipes-kernel/linux) is the preferred kernel to build for the 'qemux86' machine.

bitbake knows how to extract the parts that follow PREFERRED_VERSION (and similar), so you won't find direct references to PREFERRED_VERSION_linux-yocto_qemux86.

I'm sure someone will be along to explain that better shortly...

Chris Tapp

opensource at keylevel.com
www.keylevel.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120906/a5e672f4/attachment.html>


More information about the yocto mailing list