Most commonly operations performed in Yocto - part 3

1.Generate dependency tree information in the dot syntax
bitbake -g core-image-minimal

The above command generates a dependency graph. Bitbake creates pn-buildlist, recipe-depends.dot and task-depends.dot files

pn-buildlist: Simple list of packages which are going to be build
recipe-depends.dot: Show dependencies between recipes
task-depends.dot: Shows dependencies between tasks.

2. Displays environmental variables

bitbake -e <recipe/target name>

E.g: bitbake -e core-image-minimal | grep ^SDKMACHINE

3. Enable verbose output of shell tasks

bitbake -v <recipe/target name>

E.g. bitbake -v core-image-minimal

4.Continue bitbake even after error. This will be useful when you started a build and went for lunch and don't want the bitbake to stop if it is unable to fetch a file over Internet

bitbake -k <target>

E.g. bitbake -k core-image-minimal

5. Force the target to run even if there is sstate-cache available for it

bitbake -f <target/recipe name>

E.g. bitbake -f busybox

Comments

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PR, PN and PV Variable in Yocto