BitBake(1) simple tool for the execution of tasks


bitbake [options] packagenames


This manual page documents briefly the bitbake command.

bitbake is a program that executes the specified task (default is 'build') for a given set of BitBake files.
It expects that BBFILES is defined, which is a space seperated list of files to be executed. BBFILES does support wildcards.
Default BBFILES are the .bb files in the current directory.


This program follow the usual GNU command line syntax, with long options starting with two dashes (`-').
-h, --help
Show summary of options.
Show version of program.
execute the task against this .bb file, rather than a package from BBFILES.
-k, --continue
continue as much as possible after an error. While the target that failed, and those that depend on it, cannot be remade, the other dependencies of these targets can be processed all the same.
-a, --tryaltconfigs
continue with builds by trying to use alternative providers where possible.
-f, --force
force run of specified cmd, regardless of stamp status
-i, --interactive
drop into the interactive mode also called the BitBake shell.
-cCMD, --cmd=CMD
Specify task to execute. Note that this only executes the specified task for the providee and the packages it depends on, i.e. 'compile' does not implicitly call stage for the dependencies (IOW: use only if you know what you are doing). Depending on the base.bbclass a listtaks tasks is defined and will show available tasks.
-rFILE, --read=FILE
read the specified file before bitbake.conf
-v, --verbose
output more chit-chat to the terminal
-D, --debug
Increase the debug level. You can specify this more than once.
-n, --dry-run
don't execute, just go through the motions
-p, --parse-only
quit after parsing the BB files (developers only)
-d, --disable-psyco
disable using the psyco just-in-time compiler (not recommended)
-s, --show-versions
show current and preferred versions of all packages
-e, --environment
show the global or per-package environment (this is what used to be bbread)
-g, --graphviz
emit the dependency trees of the specified packages in the dot syntax
Stop processing at the given list of dependencies when generating dependency graphs. This can help to make the graph more appealing
Show debug logging for the specified logging domains
-P, --profile
profile the command and print a report


BitBake was written by Phil Blundell, Holger Freyther, Chris Larson, Mickey Lauer, Richard Purdie, Holger Schurig

This manual page was written by Marcin Juszkiewicz <[email protected]> for the Debian project (but may be used by others).