[yocto] How to use *.bb file to select different kernel config/feature?

Richard Zhang richard.zhang at pica8.com
Tue Mar 21 00:15:29 PDT 2017


Hi all


I want   to use one linux-kernel-myown.bb file to select different config for several boxes.

I think when I give MACHINE to box1\box2\box3, the kernel config and features select can be done.


Is it correct :


when use MACHINE=box1\box2\box3 and so on:


KERNEL_FEATURES_append_box1=" cfg/box1.scc"

KERNEL_CONFIG_box1=" cfg/box1_defconfig.cfg"


this instruction could work?or any suggestion.



Regards

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170321/79e50f78/attachment.html>


More information about the yocto mailing list