最終更新:2012-12-22 (土) 18:49:54 (1734d)  

Buildroot はてなブックマークを見る
Top / Buildroot

making Embedded Linux easy

http://buildroot.uclibc.org/

概要

  • 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.

The major Buildroot features are:

  • 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.

生成できるもの

make help

  • Cleaning
    • make clean? - delete all files created by build
    • make distclean? - delete all non-source files (including .config)
  • Build
    • make all? - make world
    • make <package? - force recompile <package>
    • make <package? - force reconfigure <package>
  • Configuration
    • make menuconfig - interactive curses?-based configurator
    • make nconfig? - interactive ncurses-based configurator
    • make xconfig - interactive Qt-based configurator
    • make gconfig? - interactive GTK-based configurator
    • make oldconfig - resolve any unresolved symbols in .config
    • make randconfig? - New config with random answer to all options
    • make defconfig - New config with default answer to all options
    • make savedefconfig? - Save current config as ./defconfig (minimal config)
    • make allyesconfig? - New config where all options are accepted with yes
    • make allnoconfig? - New config where all options are answered with no
    • make randpackageconfig? - New config with random answer to package options
    • make allyespackageconfig? - New config where pkg options are accepted with yes
    • make allnopackageconfig? - New config where package options are answered with no
    • make busybox-menuconfig? - Run BusyBox menuconfig
    • make linux-menuconfig? - Run Linux kernel menuconfig
    • make linux-savedefconfig? - Run Linux kernel savedefconfig
    • make uclibc-menuconfig? - Run uClibc menuconfig
    • make ctng-menuconfig? - Run crosstool-NG menuconfig
    • make barebox-menuconfig? - Run Barebox menuconfig
    • make barebox-savedefconfig? - Run Barebox savedefconfig
  • Documentation
    • make manual? - build manual in HTML, split HTML, PDF and txt
    • make manual-html? - build manual in HTML
    • make manual-split-html? - build manual in split HTML
    • make manual-pdf? - build manual in PDF
    • make manual-txt? - build manual in txt
    • make manual-epub? - build manual in EPUB
  • Miscellaneous
    • make source? - download all sources needed for offline-build
    • make source-check? - check selected packages for valid download URLs
    • make external-deps? - list external packages used
    • make legal-info? - generate info about license compliance
    • make V=0|1? - 0 => quiet build (default), 1 => verbose build
    • make O=dir? - Locate all output files in "dir", including .config

gumstix

対応アーキテクチャ

必要パッケージ

sudo apt-get install build-essential bison flex gettext libncurses5-dev texinfo autoconf automake libtool

関連