Buildroot

Last updated

Buildroot
Developers Peter Korsgaard and others
Initial releaseJanuary 12, 2005;20 years ago (2005-01-12) [1]
Stable release
2024.05.9 [2] / December 8, 2024;11 months ago (2024-12-08)
Repository
Written in Make, shell and C
Operating system Linux
Platform Embedded Linux
Size 6.2 MB
Type Build automation
License GNU GPL version 2 or later
Website buildroot.org   OOjs UI icon edit-ltr-progressive.svg

Buildroot is a set of Makefile and patch files that automates the process of building Linux-based system software for an embedded system; including cross-compiling to a target platform that differs from the build system. Buildroot can build a cross-compilation toolchain, a root file system, a Linux kernel image, and a boot loader. [3] [4] [5] :2–3,10–12 [6]

Contents

Buildroot supports multiple computer and instruction set architectures including x86, ARM, MIPS, PowerPC and RISC-V. [7] Buildroot comes with configurations for several off-the-shelf embedded boards, such as Cubieboard, Raspberry Pi and SheevaPlug. [8] [9] :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. [9] :15 [10]

Multiple C standard library variants are supported, including the GNU C Library, uClibc and musl, as well as those belonging to various preconfigured development environments, such as Linaro. Buildroot's build configuration system internally uses Kconfig (which is part of the Linux codebase), to provide features such as a menu-driven interface, handling of dependencies, and contextual help. Buildroot is organized as multiple, 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 EROFS, cramfs, JFFS2, romfs, SquashFS and UBIFS. [4] [9] :6–7,18 [11]

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). [4] The project started in 2001, with initial intentions to serve as a testbed for uClibc. New releases are made available every three months. [5] :5 [9] :4

See also

References

  1. "Old Buildroot downloads (index of /downloads/old)". buildroot.org. Retrieved August 16, 2015.
  2. Peter Korsgaard (December 8, 2024). "Buildroot 2024.02.9 released". buildroot (Mailing list). Retrieved December 18, 2024. Buildroot 2024.02.9 is released
  3. Alexander Sirotkin (August 31, 2011). "Roll Your Own Embedded Linux System with Buildroot". Linux Journal . Retrieved December 18, 2014.
  4. 1 2 3 "Buildroot: Making embedded Linux easy". buildroot.org. Archived from the original on December 18, 2014. Retrieved December 18, 2014.
  5. 1 2 "The Buildroot User Manual" (PDF). buildroot.org. December 1, 2014. Retrieved December 18, 2014.
  6. Tom Parkin (April 27, 2010). "Tools and distributions for embedded Linux development". LWN.net . Retrieved August 16, 2015.
  7. "Buildroot: what's new? - Embedded Linux Conference" (PDF). bootlin.com. 2022. Retrieved October 2, 2023.
  8. "Buildroot's changelog (CHANGES file)". git.buildroot.net. December 1, 2014. Retrieved December 18, 2014.
  9. 1 2 3 4 Peter Korsgaard (October 26, 2013). "Buildroot: What's new?" (PDF). elinux.org. Retrieved December 18, 2014.
  10. "OpenWrt Buildroot – About". openwrt.org. December 6, 2014. Retrieved December 18, 2014.
  11. "Linux4SAM: BuildRoot". at91.com. July 15, 2013. Retrieved August 16, 2015.