Bitbake cheat sheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 28: | Line 28: | ||
# lists the tasks | # lists the tasks | ||
bitbake -c taskname foo | bitbake -c taskname foo | ||
==Show build environment== | |||
bitbake -e foo | |||
[[Category:Dev]] | [[Category:Dev]] |
Revision as of 14:28, 27 April 2016
Intention
This page is intended to make the life of new developers easier. Feel free to add all your usual bitbake commands to this page
Start a build
To get a package build just type
bitbake foo
where foo is the name of the package without any extension or version number.
Clean up
bitbake -c clean foo
This command will clean up your tmp dir for the given package. It is very useful if you work on a new .bb recipe. Without it your changes to the recipe may not work.
Working with tmp/work
To recompile your source code if you change a line in it.
bitbake -f -c compile foo
The command above recompiled the code for foo. To build the ipk use the command below
bitbake foo
Check Recipe Version
bitbake -s | grep foo
Check Bitbake Version
bitbake --version
Run Bitbake A Little at a Time
bitbake -c listtasks foo # lists the tasks bitbake -c taskname foo
Show build environment
bitbake -e foo