Buildroot

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
Buildroot
A yellow hardhat, similar to those used by construction workers
Developer(s) Peter Korsgaard and others
Initial release January 12, 2005; 19 years ago (2005-01-12)[1]
Stable release 2016.05[2][3] / May 31, 2016; 7 years ago (2016-05-31)
Preview release 2016.05-rc3[4] / May 26, 2016; 7 years ago (2016-05-26)
Written in Make, shell and C
Operating system Linux
Platform Embedded Linux
Type Build automation
License GNU GPL version 2 or later
Website www.buildroot.org

Buildroot is a set of Makefiles and patches that simplifies and automates the process of building a complete and bootable Linux environment for an embedded system, while using cross-compilation to allow building for multiple target platforms on a single Linux-based development system. Buildroot can automatically build the required cross-compilation toolchain, create a root file system, compile a Linux kernel image, and generate a boot loader for the targeted embedded system, or it can perform any independent combination of these steps. For example, an already installed cross-compilation toolchain can be used independently, while Buildroot only creates the root file system.[5][6][7]:2–3,10–12[8]

Buildroot is primarily intended to be used with small or embedded systems based on various computer architectures and instruction set architectures (ISAs), including x86, ARM, MIPS and PowerPC.[7]:2 Numerous architectures and their variants are supported; Buildroot also comes with default configurations for several off-the-shelf available embedded boards, such as Cubieboard, Raspberry Pi and SheevaPlug.[9][10]:25 Several third-party projects and products use Buildroot as the basis for their build systems, including the OpenWrt project that creates an embedded operating system, and firmware for the customer-premises equipment (CPE) used by the Google Fiber broadband service.[10]:15[11]

Multiple C standard libraries are supported as part of the toolchain, including Embedded GLIBC, GNU C Library and uClibc, as well as the C standard libraries that belong to various preconfigured development environments, such as those provided by Linaro. Buildroot's build configuration system internally uses Kconfig, which provides features such as a menu-driven interface, handling of dependencies, and contextual help; Kconfig is also used by the Linux kernel for its source-level configuration. Buildroot is organized around numerous automatically downloaded packages, which contain the source code of various userspace applications, system utilities, and libraries. Root file system images, which are the final results, may be built using various file systems, including cramfs, JFFS2, romfs, SquashFS and UBIFS.[6][10]:6–7,18[12]

Buildroot is free and open-source software, maintained by Peter Korsgaard and licensed under version 2 or later of the GNU General Public License (GPL).[6] The project started in 2001, with initial intentions to serve as a testbed for uClibc. New releases are made available every three months.[7]:5[10]:4

See also

  • BitBake – a make-like build tool focusing on cross-compiled packages and embedded Linux distributions
  • BusyBox – a software project that provides several stripped-down Unix tools in a single executable file
  • Linux distribution – an operating system made as a collection of software based on the Linux kernel and, often, a package management system
  • OpenEmbedded – a software framework for creating Linux distributions tailored for embedded devices
  • uClibc – a small C standard library intended for Linux-based embedded systems
  • Yocto Project – a Linux Foundation workgroup focusing on architecture-independent embedded Linux distributions

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. 6.0 6.1 6.2 Lua error in package.lua at line 80: module 'strict' not found.
  7. 7.0 7.1 7.2 Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. 10.0 10.1 10.2 10.3 Lua error in package.lua at line 80: module 'strict' not found.
  11. Lua error in package.lua at line 80: module 'strict' not found.
  12. Lua error in package.lua at line 80: module 'strict' not found.

External links