BitBake uses execution units, which are in essence a set of clustered instructions that run in sequence. These units are known as tasks. There are many tasks being scheduled, executed, and checked by BitBake during every recipe build, provided by classes to form the framework that we use to build a recipe. Some are important to be understood as we often use, extend, implement, or replace them ourselves when writing a recipe.
Run the following command:
$: bitbake <recipe>
BitBake runs a set of scheduled tasks. When we wish to run a specific task, we can use the following command:
$: bitbake <recipe> -c <task>
To list the tasks defined for a recipe, we can use the following command:
$: bitbake <recipe> -c listtasks
We will briefly describe each of these here: