Contents of layers
We have already discussed, layers are a way of organizing our metadata. To use these layers, we have to follow a well-defined directory structure to keep the metadata as well as code, for the organization of this metadata. In this section, we will discuss how this organization is accomplished, what the minimum requirements of the directory structure are, and what contents are available under each directory. To talk about the directories in any layer, the layer should have at least two directories, which are discussed in the upcoming sections.
The conf directory
The minimal content in this directory is the configuration file named layer.conf
. Basically, there are two types of layers:
General layers
BSP layers
We have created a general layer in the previous experimentation, using the yocto-layer
command with its create
option. BSP layers can be created using the yocto-bsp
command, in a manner that is similar to using some extra options, which are not very different. This file...