13
Customizing Existing Recipes
In the course of our work with Yocto Project’s tools, it is expected that we will need to customize existing recipes. In this chapter, we will explore some examples, such as changing compilation options, enabling or disabling features of a recipe, applying an extra patch, and using configuration fragments to customize some recipes.
Understanding common use cases
Nowadays, projects usually have a set of layers to provide the required features. We certainly need to make changes on top of them to adapt them to our specific needs. They may be cosmetic or substantive changes, but the way to make them is the same.
We must create a .bbappend file to change a preexisting recipe in our project layer. For example, suppose ...
Get Embedded Linux Development Using Yocto Project - Third Edition 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.