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

Luo Zhenhua-B19537 B19537 at freescale.com
Thu Dec 29 02:09:32 PST 2011


> -----Original Message-----
> From: Paul Eggleton [mailto:paul.eggleton at linux.intel.com]
> Sent: Thursday, December 29, 2011 5:41 PM
>
> > 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, 
[Luo Zhenhua-B19537] Thanks. the function is useful

> 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.
[Luo Zhenhua-B19537] Agree. 


Best Regards,

Zhenhua




More information about the yocto mailing list