Re: How to log inside a recipe #yocto


tomzy
 

Hi

To get a value of some variable added in recipe it is best to use bitbake
with `-e` flag which should print the whole environment, then one can just
use `grep` to search for given variable. Let say we have recipe `example.bb`
and need to know the value of `A_VAR` - with bitbake you can find it with

`bitbake -e example | grep ^A_VAR`

Regards
--
Tomasz ┼╗yjewski
Embedded Systems Engineer
GPG: 5C495EA3EBEECA59
https://3mdeb.com | @3mdeb_com

Join yocto@lists.yoctoproject.org to automatically receive all group messages.