最終更新:2025-02-07 (金) 13:44:17 (9d)
Buildroot
Top / Buildroot
making Embedded Linux easy
リポジトリ
概要
- Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system. Buildroot can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image.
- Buildroot is useful mainly for people working with small or embedded systems, using various CPU architectures (x86, ARM, MIPS, PowerPC, etc.) : it automates the building process of your embedded system and eases the cross-compilation process.
主な機能
- Can handle everything in your embedded system development project: cross-compiling toolchain, root filesystem generation, kernel image compilation and bootloader compilation. Buildroot is also sufficiently flexible that it can also be used for only one or several of these steps.
- Is very easy to set up, thanks to its menuconfig, gconfig? and xconfig? configuration interfaces, familiar to all embedded Linux developers. Building a basic embedded Linux system with Buildroot typically takes 15-30 minutes.
- Supports several hundreds of packages for userspace applications and libraries: X.Org stack, GTK+ 2, Qt, DirectFB, SDL, GStreamer and a large number of network-related and system-related utilities and libraries are supported.
- Supports multiple filesystem types for the root filesystem image: JFFS2, UBIFS, tarball?s, romfs?, cramfs, Squashfs and more.
- Can generate an uClibc cross-compilation toolchain, or re-use your existing glibc, EGLIBC or uClibc cross-compilation toolchain
- Has a simple structure that makes it easy to understand and extend. It relies only on the well-known Makefile language.
Buildroot/ドキュメント
Buildroot/使い方
生成できるもの
Buildroot/make
- Cleaning
- Buildroot/make clean - delete all files created by build
- Buildroot/make distclean - delete all non-source files (including .config)
- Build
- Buildroot/make all? - make world
- Buildroot/make <package>-rebuild - force recompile <package>
- Buildroot/make <package>-reconfigure - force reconfigure <package>
- Configuration
- Buildroot/make menuconfig - interactive curses?-based configurator
- Buildroot/make nconfig? - interactive ncurses-based configurator
- Buildroot/make xconfig - interactive Qt-based configurator
- Buildroot/make gconfig? - interactive GTK-based configurator
- Buildroot/make oldconfig? - resolve any unresolved symbols in .config
- Buildroot/make randconfig? - New config with random answer to all options
- Buildroot/make defconfig - New config with default answer to all options
- Buildroot/make savedefconfig - Save current config as ./defconfig (minimal config)
- Buildroot/make allyesconfig? - New config where all options are accepted with yes
- Buildroot/make allnoconfig? - New config where all options are answered with no
- Buildroot/make randpackageconfig? - New config with random answer to package options
- Buildroot/make allyespackageconfig? - New config where pkg options are accepted with yes
- Buildroot/make allnopackageconfig? - New config where package options are answered with no
- Buildroot/make busybox-menuconfig? - Run BusyBox menuconfig
- Buildroot/make linux-menuconfig - Run Linux kernel menuconfig
- Buildroot/make linux-savedefconfig? - Run Linux kernel savedefconfig
- Buildroot/make uclibc-menuconfig? - Run uClibc menuconfig
- Buildroot/make ctng-menuconfig? - Run crosstool-NG menuconfig
- Buildroot/make barebox-menuconfig? - Run Barebox menuconfig
- Buildroot/make barebox-savedefconfig? - Run Barebox savedefconfig
- Documentation
- Buildroot/make manual? - build manual in HTML, split HTML, PDF and txt
- Buildroot/make manual-html? - build manual in HTML
- Buildroot/make manual-split-html? - build manual in split HTML
- Buildroot/make manual-pdf? - build manual in PDF
- Buildroot/make manual-txt? - build manual in txt
- Buildroot/make manual-epub? - build manual in EPUB
- Miscellaneous
- Buildroot/make source - download all sources needed for offline-build
- Buildroot/make source-check? - check selected packages for valid download URLs
- Buildroot/make external-deps? - list external packages used
- Buildroot/make legal-info? - generate info about license compliance
- Buildroot/make V=0|1? - 0 => quiet build (default), 1 => verbose build
- Buildroot/make O=dir? - Locate all output files in "dir", including .config
gumstix
http://docwiki.gumstix.org/index.php/Buildroot
- The Buildroot is the system was used to create flash filesystem images for use on the Gumstix.
対応アーキテクチャ
- ARM (ビッグエンディアン/リトルエンディアン)
- AArch64
- AVR32
- Blackfin
- i386
- MicroBlaze AXI (リトルエンディアン)
- MicroBlaze non-AXI (ビッグエンディアン)
- MIPS (ビッグエンディアン/リトルエンディアン)
- MIPS64? (ビッグエンディアン/リトルエンディアン)
- PowerPC
- SuperH
- SuperH64?
- SPARC
- x86_64
- Xtensa
必要パッケージ
sudo apt-get install build-essential bison flex gettext libncurses5-dev texinfo autoconf automake libtool