Book Image

Embedded Linux Development with Yocto Project

By : Otavio Salvador
Book Image

Embedded Linux Development with Yocto Project

By: Otavio Salvador

Overview of this book

A practical tutorial guide which introduces you to the basics of Yocto Project, and also helps you with its real hardware use to boost your Embedded Linux-based project. If you are an embedded systems enthusiast and willing to learn about compelling features offered by the Yocto Project, then this book is for you. With prior experience in the embedded Linux domain, you can make the most of this book to efficiently create custom Linux-based systems.
Table of Contents (17 chapters)
15
A. References
16
Index

Adding meta layers

There are hundreds of meta layers from the Yocto Project, OpenEmbedded, communities, and companies that should be manually cloned inside the project source directory to be used. We can find them at http://git.yoctoproject.org/ or http://layers.openembedded.org.

In order to include, for example, meta-realtime in our project, we can change the content of configuration for Layers; click on Add layer, browse to the meta-realtime folder, and click on OK if we use Hob, as shown in the following screenshot:

Adding meta layers

We notice that the layers meta, meta-yocto, and meta-hob cannot be removed as they provide the core infrastructure and BSP for Hob. These layers are the Yocto Project definition, plus the Hob provider layer.

If we use the BitBake command lines, we can add a new layer by changing the file conf/bblayer.conf and add the absolute path to the new meta layer directory, as shown in the following source code. The line highlighted is the one to be added. The others are the default values...