Embedded Linux Development using Yocto Projects - Second Edition
by Otavio Salvador, Daiane Angolini
Parsing metadata
As previously mentioned, there are three metadata groups—configuration, class, and recipe.
The first parsed metadata in BitBake is configuration metadata, identified by the .conf file extension. This metadata is global, and therefore affects all recipes and tasks that are executed.
BitBake first searches the current working directory for the build/conf/bblayers.conf configuration file, which is expected to contain a BBLAYERS variable that is a space-delimited list of layer directories. For each directory in this list, a conf/layer.conf file is searched for and parsed to add the recipes, classes, and configurations contained within that particular layer. LAYERDIR is set to the directory where the layer was found during this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access