Tips and tricks

From Mike's wiki
Jump to navigation Jump to search

There are may tips for debugging yocto.


To build any recipy use

$bitbake <target name>

$bitbake


To fetch elements for a recipy

$ bitbake <your-image-or-recipe> --runall=fetch


To clean a recipy

$ bitbake <your-image-or-recipe> --runall=cleanall


To analyse the environment

$ bitbake -e | grep ^TARGET_ARCH


To fetch everything including cross compiler use

$ bitbake -c fetch world