[yocto] How to specify required kernel version and BlueZ version in custom layer configuration?

Khem Raj raj.khem at gmail.com
Thu Apr 23 20:10:18 PDT 2015


> On Apr 23, 2015, at 6:12 PM, Cai, Juliet Z <juliet.z.cai at intel.com> wrote:
> 
> I have a custom layer with recipes that require kernel 3.19 and BlueZ 5.  I have two questions.
>  
> 1.      Is there a place in my layer to specified required kernel version?  I see it can be done in machine/config, but my layer is not machine specific.

kernel versions are generally dictated by machine configs. you may document it in your README as to what you require for your layer to go into mix. you could also write a kernel bbappend which checks for kernel version ‘pythonically’ and barfs 

> 2.      To switch to Bluez 5, I can add DISTRO_FEATURES_append = “ bluez5” to local.config. Can I do something in my own layer configuration to have the same effect?

you can add same in layer.conf

>  
> Thanks in advance,
> Juliet
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto <https://lists.yoctoproject.org/listinfo/yocto>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150423/a277bf3f/attachment.html>


More information about the yocto mailing list