Chapter 2. Common Tasks

Table of Contents

2.1. Creating and Preparing a Layer
2.2. Modifying an Existing Recipe
2.2.1. Creating the Append File
2.2.2. Applying Patches
2.2.3. Changing the Configuration
2.2.4. Using an "In-Tree"  defconfig File
2.3. Using an Iterative Development Process
2.3.1. "-dirty" String
2.3.2. Generating Configuration Files
2.3.3. Modifying Source Code
2.4. Working With Your Own Sources
2.5. Working with Out-of-Tree Modules
2.5.1. Building Out-of-Tree Modules on the Target
2.5.2. Incorporating Out-of-Tree Modules
2.6. Inspecting Changes and Commits
2.6.1. What Changed in a Kernel?
2.6.2. Showing a Particular Feature or Branch Change

This chapter presents several common tasks you perform when you work with the Yocto Project Linux kernel. These tasks include preparing a layer, modifying an existing recipe, iterative development, working with your own sources, and incorporating out-of-tree modules.

Note

The examples presented in this chapter work with the Yocto Project 1.2.2 Release and forward.