January 2018
Intermediate to advanced
456 pages
12h 49m
English
A new software layer can be created in the same way we did for a BSP layer in the previous chapter. We can, for example, create a new meta-custom layer using the yocto-layer command as we learned in the Creating a custom BSP layer recipe in Chapter 2, The BSP Layer. From the sources directory, execute the following command:
$ yocto-layer create custom
As already mentioned, the yocto-layer tool will add the meta prefix to the layer.
Don't forget to add the layer to your project's conf/bblayers.conf file and to your template's conf directory to make it available for all new projects.
The default conf/layer.conf configuration file is as follows:
# We have a conf and classes directory, add to BBPATH BBPATH .= ":${LAYERDIR}" # ...Read now
Unlock full access