Tips and tricks

From Mike's wiki
Revision as of 08:57, 1 August 2025 by Mike (talk | contribs) (Created page with "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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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