Using a layer's kernel instead of a machine's stated preferred virtual/kernel provider

Darren Hart <dvhart@...>

I've created a new layer which provides a linux kernel. This layer applies to boards (ie beagleboard) that are defined in meta/conf/machines which specify linux-wrs as their preferred kernel.

Is there a standard way of overriding this when building images / packages from a new layer? Something like a machine.append file maybe? I could just copy the machine config and rename it something else - beagleboard-mylayer and set MACHINE=beagleboard-mylayer, but that seems like a hack.


Darren Hart
Yocto Linux Kernel