The basic concepts of layers

Let's dive into the basic concepts of layers:

Theory

A layer, in the technical sense of the term, has some properties. They are as follows:

  • Name: This usually starts with the string meta- (mandatory for better comprehension).
  • Priority: This is the value used by BitBake to decide which recipe to use and the order in which the .bbappend files should be joined. It means that if two layers include the same recipe (.bb) file, the one with the higher priority is used.

Note

For example, a layer with a priority value set to 6 has a higher chance of its recipe being used than one with a priority value set to 5.

Furthermore, each layer is listed according to its functionality on this page:

http://layers.openembedded.org/layerindex/branch/master/layers/ ...

Get Yocto for Raspberry Pi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.