Explaining Yocto's Linux kernel support
The Yocto project offers a kernel framework that allows us to work with the Linux kernel in different ways:
Fetching the source from a Git repository and applying patches to it. This is the path taken by the Freescale community BSP-supported kernels, as we saw previously.
The
linux-yocto
style kernels that generate the kernel source from a set of Git branches and leafs. Specific features are developed in branches, and a leaf is followed for a complete set of features.
In this recipe, we will show how to work with a linux-yocto
style kernel.
How to do it...
To use a linux-yocto
style kernel, the kernel recipe inherits the linux-yocto.inc
file. A Git repository for a linux-yocto
style kernel contains metadata either in the recipe or inside the kernel Git tree, in branches named with the meta
prefix.
The linux-yocto
style kernel recipes are all named linux-yocto
and follow the upstream kernel development, rooted in the kernel.org
repository. Once a new Yocto...