Book Image

Embedded Linux Development with Yocto Project

Book Image

Embedded Linux Development with Yocto Project

Overview of this book

Table of Contents (22 chapters)
Embedded Linux Development with Yocto Project
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
References
Index

Exploring metadata


The metadata used by BitBake can be classified into three major areas:

  • Configuration (the .conf files)

  • Classes (the .bbclass files)

  • Recipes (the .bb and .bbappend files)

The configuration files define the global content, which is used to provide information and configure how the recipes will work. One common example of the configuration file is the machine file that has a list of settings, which describes the board hardware.

The classes are used by the whole system and can be inherited by recipes, according to their needs or by default, as in this case with classes used to define the system behavior and provide the base methods. For example, kernel.bbclass helps the process of build, install, and package of the Linux kernel, independent of version and vendor.

Tip

The recipes and classes are written in a mix of Python and shell scripting code.

The classes and recipes describe the tasks to be run and provide the needed information to allow BitBake to generate the needed task chain...