November 2017
Intermediate to advanced
162 pages
4h 8m
English
BitBake supports variable referencing. The syntax closely resembles Shell Script, for example:
A = "aval"B = "pre${A}post"
This results in A containing aval and B containing preavalpost. One important thing to bear in mind is that the variable only expands when it is actually used, as shown:
A = "aval"B = "pre${A}post"A = "change"
The preceding example illustrates the laziness of BitBake evaluation. When B is used, it evaluates A (as it is a reference for it); A now contains a change, and B is prechangepost.
Read now
Unlock full access