BitBake User Manual

BitBake Team

This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.


Table of Contents

1. Introduction
Overview
Background and Goals
2. Metadata
Description
Basic variable setting
Variable expansion
Immediate variable expansion (:=)
Appending (+=) and prepending (=+)
Appending (.=) and prepending (=.) without spaces
Conditional metadata set
Conditional appending
Inclusion
Requiring Inclusion
Python variable expansion
Defining executable metadata
Defining python functions into the global python namespace
Inheritance
Tasks
Events
Parsing
Configuration Files
Classes
.bb Files
3. File Download support
Overview
Local File Fetcher
CVS File Fetcher
HTTP/FTP Fetcher
SVK Fetcher
SVN Fetcher
GIT Fetcher
4. Commands
bbread
bitbake
Introduction
Usage and Syntax
Metadata

List of Examples

4.1. Executing a task against a single .bb
4.2. Executing tasks against a set of .bb files
4.3. Generating dependency graphs
4.4. Setting BBFILES
4.5. Depending on another .bb
4.6. Using PROVIDES
4.7. Specifying version preference
4.8. Using “bbfile collections