交叉编译busybox

来源:互联网 发布:数据之巅 pdf 下载 编辑:程序博客网 时间:2024/04/29 14:51
1.解压 tar -zxvf busybox-1.00.tar.gz 
2.cd busybox-1.00/
3.make menuconfig
Build Options  --->
[*] Build BusyBox as a static binary (no shared libs)
  │ │[ ] Build with Large File Support (for accessing files > 2 GB)
  │ │[*] Do you want to build BusyBox with a Cross Compiler?   
  │ │(/usr/local/arm/3.4.1/bin/arm-linux-) Cross Compiler prefix
  │ │(-I /usr/local/arm/3.4.1/arm-linux/sys-include) Any extra CFLAGS option
 Installation Options  --->                                                                
 [*] Don't use /usr 
  │ │             (./_install) BusyBox installation prefix 
  │ │
4.make ARCH=arm CROSS_COMPILE=/usr/local/arm/3.4.1/bin/arm-linux-
5.make install
0 0
原创粉丝点击