【CHICHI ETUTOR@ARM/MIPS/PPC】The Swiss Army Knife of Embedded Linux _ BUSYBOX
1. Download Busybox busybox-1.19.2.tar.bz2 "
from http://busybox.net/downloads/
2. "basic" setup configuration
$cd busybox-1.19.2
busybox-1.19.2$ make menuconfig
Busybox Settings --->
Build Options --->
(arm-linux-) Cross Compiler prefix
Busybox Library Tuning --->
[*] Faster /proc scanning code (+100 bytes)
(255) History size
[*] History saving
[*] Tab completion
//After which, you can enter the command configuration page to add/remove command as you want.
│ │
Archival Utilities --->
│ │ Coreutils --->
│ │ Console Utilities --->
│ │ Debian Utilities --->
│ │ Editors --->
│ │ Finding Utilities --->
│ │ Init Utilities --->
│ │ Login/Password Management Utilities --->
│ │ Linux Ext2 FS Progs --->
│ │ Linux Module Utilities --->
│ │ Linux System Utilities --->
│ │ Miscellaneous Utilities --->
│ │ Networking Utilities --->
│ │ Print Utilities --->
│ │ Mail Utilities --->
│ │ Process Utilities --->
│ │ Runit Utilities --->
│ │ Shells --->
│ │
System Logging Utilities --->
3. make and make install
$make -j8
//if you meet warning message like these, leave it and dont care it
================================================
................
LINK busybox_unstripped
Trying libraries: crypt m
Library crypt is not needed, excluding it
Library m is needed, can't exclude it (yet)
Final link with: m
...............
================================================
$make install
//There should be in folder called "_install" generate
$cd _install
_install$ ls
bin linuxrc sbin usr
4. copy these folders/files (bin linuxrc sbin usr) to be sub directory of File System you prepare to build up
0 意見:
張貼留言