最終更新:2014-12-26 (金) 16:46:37 (3406d)  

BusyBox
Top / BusyBox

組み込みLinuxのスイスアーミーナイフ

http://www.busybox.net/

コマンドの集合体で、“busybox”という1つの実行ファイルで「ls」「cat」「vi」「httpd」といったさまざまなコマンドの機能を使うことができる

メリット

  • ファイルサイズを削減できる
  • コンパイル作業が簡単

メモ

  • 通常、バージョンアップデート後数週間以内にリリースされるマイナーリリース(1.x.1)を安定版としている

コマンド

アプレット

  • コマンドの機能に相当するもの

libbb?

  • アプレット間で共通して使う関数を定義

コンパイル

$ make menuconfig
$ make

make help

  • Cleaning
    • make clean - delete temporary files created by build
    • make distclean? - delete all non-source files (including .config)
    • make doc-clean? - delete all generated documentation
  • Build
    • make all? - Executable and documentation
    • make busybox? - the swiss-army executable
    • make doc? - docs/BusyBox.{txt,html,1}
    • make html? - create html-based cross-reference
  • Configuration
  • Installation
  • Development
    • make baseline? - create busybox_old for bloatcheck.
    • make bloatcheck? - show size difference between old and new versions
    • make check? - run the test suite for all applets
    • make checkhelp? - check for missing help-entries in Config.in
    • make randconfig? - generate a random configuration
    • make release? - create a distribution tarball
    • make sizes? - show size of all enabled busybox symbols
    • make objsizes? - show size of each .o object built
    • make bigdata? - show data objects, biggest first
    • make stksizes? - show stack users, biggest first

Android

参考

関連