The syntax used by BitBake metadata may be misleading, which can sometimes be hard to trace. We can check the value of each variable we want using the environment option (-e
or --environment
) of BitBake, for example:
$: bitbake -e <recipe> | grep <variable>
In order to understand how BitBake works in more detail, please refer to the BitBake User Manual.
In the following sections, we will see most of the syntaxes commonly used in recipes.