Skip to Main Content
Embedded Linux Development Using Yocto Project - Third Edition
book

Embedded Linux Development Using Yocto Project - Third Edition

by Otavio Salvador, Daiane Angolini
April 2023
Intermediate to advanced content levelIntermediate to advanced
196 pages
4h 4m
English
Packt Publishing
Content preview from Embedded Linux Development Using Yocto Project - Third Edition

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Kernel Development, Third Edition

Linux Kernel Development, Third Edition

Robert Love
Understanding the Linux Kernel, 3rd Edition

Understanding the Linux Kernel, 3rd Edition

Daniel P. Bovet, Marco Cesati

Publisher Resources

ISBN: 9781804615065