12

Creating Custom Layers

In addition to using existing layers from the community or vendors, we will learn how to create layers for our products in this chapter. Additionally, we will discover how to create a machine definition and distribution and profit from them to organize our source code better.

Making a new layer

Before creating our layer, it’s always a good idea to check whether a similar one is already available at the following website: http://layers.openembedded.org.

If we are still looking for a layer suitable for our needs, the next step is to create the directory. Usually, the layer name starts with meta-, but this is not a technical restriction.

The <layer>/conf/layer.conf file is the layer configuration file required for every ...

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.