2.1. Creating and Preparing a Layer

If you are going to be modifying kernel recipes, it is recommended that you create and prepare your own layer in which to do your work. Your layer contains its own BitBake append files (.bbappend) and provides a convenient mechanism to create your own recipe files (.bb). For details on how to create and work with layers, see the "Understanding and Creating Layers" section in the Yocto Project Development Manual.

Tip

The Yocto Project comes with many tools that simplify tasks you need to perform. One such tool is the yocto-layer create script, which simplifies creating a new layer. See the "Creating a General Layer Using the yocto-layer Script" section in the Yocto Project Development Manual for more information.