Metadata types
There are three major areas where we can classify the metadata used by BitBake. They are as follows:
- Configuration (the
.
conf
files) - Classes (the
.
bbclass
files) - Recipes (the
.bb
and.
bbappend
files)
The configuration files define the global content to provide information and configure how the recipes work. One typical example of a configuration file is the machine file, which has a list of settings that describes the hardware.
The whole system uses the classes that recipes can inherit
according to their needs or by default. They define the commonly used system’s behavior and provide the base methods. For example, kernel.bbclass
abstracts tasks related to building and packaging the Linux kernel independently of version or vendor changes.
Note
The recipes and classes mix Python and Shell Script code.
The classes and recipes describe the tasks to be run and provide the information needed to allow BitBake to generate the required...