Jump to content

BitBake

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 134.134.139.72 (talk) at 23:14, 17 May 2018 (Update for latest release). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

BitBake
Original author(s)Chris Larson
Developer(s)OpenEmbedded
Initial releaseDecember 7, 2004; 19 years ago (2004-12-07)[1]
Stable release
1.38.0[2] / May 11, 2018; 6 years ago (2018-05-11)
Repository
Written inPython
Operating systemLinux
TypeBuild automation
LicenseGPLv2
Websiteyoctoproject.org/tools-resources/projects/bitbake

BitBake is a make-like build tool with the special focus of distributions and packages for embedded Linux cross compilation, although it is not limited to that. It is inspired by Portage,[3] which is the package management system used by the Gentoo Linux distribution. BitBake existed for some time in the OpenEmbedded project until it was separated out into a standalone, maintained, distribution-independent tool. BitBake is co-maintained by the Yocto Project and the OpenEmbedded project.

BitBake recipes specify how a particular package is built.[4] Recipes consist of the source URL (http, https, ftp, cvs, svn, git, local file system) of the package, dependencies and compile or install options. They also store the metadata for the package in standard variables.[5] During the build process, recipes are used to track dependencies, performing native or cross-compilation of the package and package it so that it is suitable for installation on the local or a target device. It is also possible to create complete images consisting of a root file system and kernel. As a first step in a cross-build setup, the framework will attempt to create a cross-compiler toolchain suited for the target platform.

See also

References

  1. ^ "Re: [yocto] Happy Birthday, Yocto Project". 2013-11-15.
  2. ^ "Releases".
  3. ^ "It was inspired by the Portage package management system". BitBake User Manual. 2018-05-17.
  4. ^ "IoT - Build an Intel® Edison Board Image Using Bitbake - Intel® Software". software.intel.com. Intel.
  5. ^ "From Bitbake Hello World To an Image". Hambedded Linux. 2017-04-26.