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 ...

Get Embedded Linux Projects Using Yocto Project Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.