Usually, a layer has a directory tree, as shown in the following screenshot:
The layer name should start with meta-
; it is not a requirement, but the advised naming convention. 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 both the classes provided the classes that are specific to that layer (the .bbclass
files). It is an optional directory.
The <layer>/conf
folderis 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 screenshot:
If the <layer>/conf
folder...