1. Get the busybox sources:

$ wget -c http://www.busybox.net/downloads/busybox-1.18.1.tar.bz2

$ tar jxvf busybox-1.18.1.tar.bz2

2. Download the ARM Toolkit , e.g. Sourcery G++ Lite 2008q1-126 for ARM GNU /Linux

$ wget -c http://www.codesourcery.com/sgpp/lite/arm/portal/package2549/public/arm-none-linux-gnueabi/arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

note: using the newest toolchain compile busybox-1.18.1 failed, use this toolchain 4.2.3 compiled ok.

3. configure the busybox

$ cd busybox-1.18.1

$ make menuconfig

configure busybox as desired, or just

$ make defconfig

4. compile the busybox

$ make CROSS_COMPILE=/yourpath/arm-2008q1/bin/arm-none-linux-gnueabi- LDFLAGS="--static" CFLAGS="--static"

$ file busybox
busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android(安卓)自定义PopupWindow指定位置
  2. Weex 阿里跨平台开发组件扩展库
  3. 从Android设备获取实时截屏
  4. Android单选和多选按钮的使用
  5. Android 图像存储在SD卡ContentResolver
  6. 《Android经验分享》周刊第2期
  7. Flutter和Android中的View
  8. Android开发——Android搜索框架(一)
  9. s5p4418 Android(安卓)4.4.2 驱动层 HAL
  10. RK3399: 支持wifi/4g与以太网共存