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 (
--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.
The assignment of a variable can be done as shown:
FOO = "bar"
In the preceding example, the value of the variable
The variable assignment is core to the BitBake metadata syntax as most other examples are performed using variables.