Parsing metadata
The first thing BitBake does is parse base configuration metadata (.conf
files). Base configuration metadata consists of the bblayers.conf
file to determine what layers BitBake needs to recognize, all necessary layer.conf
files (one from each layer), and bitbake.conf
. The data itself is of various types:
Recipes: These contain details about particular pieces of software.
Class data: This provides an abstraction of common build information (for example, how to build a Linux kernel).
Configuration data: This provides machine-specific settings, policy decisions, and so forth. Configuration data acts as the glue that binds everything together.
The layer.conf
files are used to construct key variables such as
BBPATH
and BBFILES
. BBPATH
is used to search for configuration and class files under the conf/
and class/
directories, respectively. BBFILES
is used to find recipe files (.bb
and .bbappend
). If there is no bblayers.conf
file, it is assumed that the user has set the BBPATH
and...