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