因为固件里面的文件系统没有telnet,nfs
想使用busybox制作 linux 的文件系统
下载了一个busybox源码
使用android 5.1 里面的工具链:prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc
指定交叉编译为:arm-eabi-
编译busybox,一直编译不过,不断提示缺少头文件
pc@pc:/work/tools/busybox-1.24.2$ make
CC applets/applets.o
In file included from include/libbb.h:13:0,
from include/busybox.h:8,
from applets/applets.c:9:
include/platform.h:141:20: fatal error: limits.h: No such file or directory
compilation terminated.
make[1]: *** [applets/applets.o] Error 1
make: *** [applets_dir] Error 2