android_busybox

来源:互联网 发布:软件服务指数 编辑:程序博客网 时间:2024/05/14 18:11
1.download the busybox from http://busybox.net/downloads/
2.make menuconfig
Busybox Settings  --->     
Build Options  ---> 
[*] Build BusyBox as a static binary (no shared libs)                                      
[*] Build with Large File Support (for accessing files > 2 GB) (NEW)
3.export ARCH=arm
  export CROSS_COMPILE=arm-linux-
  make
  make install
  at _install will produce the command what we need
/nfsdir/system$ cp -a /home/share/busybox-1.19.3/_install ./
/nfsdir/system$ mv _install busybox
4.modif nfsdir/init.rc to Increase the terminal TAB complement function
 export PATH /system/busybox/bin:/system/busybox/sbin:/system/busybox/usr/bin:/system/busybox/usr/sbin
 #service console /system/bin/sh
 service console /system/busybox/bin/sh