BitBake

From Wikipedia, the free encyclopedia
BitBake
Original author(s)Holger Schurig
Developer(s)OpenEmbedded
Initial releaseDecember 7, 2004; 19 years ago (2004-12-07)[1]
Stable release
2.0.1[2] / May 23, 2022; 22 months ago (2022-05-23)
Repositorygit.openembedded.org/bitbake/
Written inPython
Operating systemLinux
TypeBuild automation
LicenseGPLv2
Websiteopenembedded.org

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. 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.[4] 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[edit]

References[edit]

  1. ^ "Re: [yocto] Happy Birthday, Yocto Project". 2013-11-15.
  2. ^ "Tag".
  3. ^ "It was inspired by the Portage package management system". BitBake User Manual. 2018-05-17.
  4. ^ "From Bitbake Hello World To an Image". Hambedded Linux. 2017-04-26.

External links[edit]