[yocto] Query about how Yocto handles the bbclass file when it exists in multi-layers

Paul Eggleton paul.eggleton at linux.intel.com
Thu Dec 29 01:41:29 PST 2011


On Thursday 29 December 2011 09:37:07 Luo Zhenhua-B19537 wrote:
> If one bbclass exists in multi-layers, which one will Yocto pick up? It
> seems BBFILE_PRIORITY doesn't impact bbclass file.

I believe for bbclass files it's the order in which the layers are listed in 
your bblayers.conf.

We could fix this, however I'm not sure we should be encouraging duplication of 
class files - people should ideally be getting their functionality into the OE-
Core classes and not just overlaying their own version of the class.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list