Book Image

Embedded Linux Development with Yocto Project

Book Image

Embedded Linux Development with Yocto Project

Overview of this book

Table of Contents (22 chapters)
Embedded Linux Development with Yocto Project
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
References
Index

Detailing the layer's source code


Usually, a layer has a directory tree, as shown in the following figure:

The layer name should start with meta-, it is not a requirement but the advised pattern. Inside this directory, there are two files, <layer>/COPYING and <layer>/README, a license, and a message to the user. In <layer>/README, we must specify any other dependency and information that the layer's users need to know.

The classes folder should hold the classes provided and specific to that layer (the .bbclass files). It is an optional directory.

The folder <layer>/conf is mandatory and should provide the configuration files (the .conf files). Primarily, the layer configuration file <layer>/conf/layer.conf, to be detailed in the next chapter, is the file with the layer definition.

When the <layer>/conf folder is from a BSP layer, the directory structure should look like the following figure:

If the <layer>/conf folder is from a distribution layer, the...