使用旧config
cp /.../busybox.config .config
make oldconfig
CROSS=arm-linux-uclibc- #需要修改Makefile的ARCH, CROSS_COMPILE
CC=arm-linux-uclibc-gcc
make
make PREFIX=./_install/ install
需要注意的网络选项:
Networking Utilities ──
[ ] Enable IPv6 support │ │
│ │ [ ] arping │ │
│ │ [ ] dnsd │ │
│ │ [ ] ether-wake │ │
│ │ [ ] fakeidentd │ │
│ │ [*] ftpget │ │
│ │ [*] ftpput │ │
│ │ [*] hostname │ │
│ │ [*] httpd │ │
│ │ [*] Support using httpd only from inetd │ │
│ │ [*] Enable Basic http Authentication │ │
│ │ [*] Support MD5 crypted passwords for http Authentication │ │
│ │ [ ] Support loading additional MIME types at run-time │ │
│ │ [*] Support Common Gateway Interface (CGI) │ │
│ │ [ ] Enable support for running scripts through an interpreter │ │
│ │ [*] Support the REMOTE_PORT environment variable for CGI │ │
│ │ [*] Enable the -e option for shell script CGI simplification. │ │
│ │ --- ifconfig │ │
│ │ [*] Enable status reporting output (+7k)
│ │ [ ] arping │ │
│ │ [ ] dnsd │ │
│ │ [ ] ether-wake │ │
│ │ [ ] fakeidentd │ │
│ │ [*] ftpget │ │
│ │ [*] ftpput │ │
│ │ [*] hostname │ │
│ │ [*] httpd │ │
│ │ [*] Support using httpd only from inetd │ │
│ │ [*] Enable Basic http Authentication │ │
│ │ [*] Support MD5 crypted passwords for http Authentication │ │
│ │ [ ] Support loading additional MIME types at run-time │ │
│ │ [*] Support Common Gateway Interface (CGI) │ │
│ │ [ ] Enable support for running scripts through an interpreter │ │
│ │ [*] Support the REMOTE_PORT environment variable for CGI │ │
│ │ [*] Enable the -e option for shell script CGI simplification. │ │
│ │ --- ifconfig │ │
│ │ [*] Enable status reporting output (+7k)
│ [ ] Enable slip-specific options "keepalive" and "outfill" │ │
│ │ [ ] Enable options "mem_start", "io_addr", and "irq" │ │
│ │ [*] Enable option "hw" (ether only) │ │
│ │ [ ] Set the broadcast automatically │ │
│ │ [*] ifupdown │ │
│ │ [ ] Use ip applet │ │
│ │ [*] Use busybox ifconfig and route applets │ │
│ │ [*] Enable support for IPv4 │ │
│ │ [ ] Enable support for IPv6 │ │
│ │ [ ] Enable support for IPX │ │
│ │ [ ] Enable options "mem_start", "io_addr", and "irq" │ │
│ │ [*] Enable option "hw" (ether only) │ │
│ │ [ ] Set the broadcast automatically │ │
│ │ [*] ifupdown │ │
│ │ [ ] Use ip applet │ │
│ │ [*] Use busybox ifconfig and route applets │ │
│ │ [*] Enable support for IPv4 │ │
│ │ [ ] Enable support for IPv6 │ │
│ │ [ ] Enable support for IPX │ │
│ [ ] Enable mapping support │ │
│ │ [*] inetd │ │
│ │ [*] Support echo service │ │
│ │ [*] Support discard service │ │
│ │ [*] Support time service │ │
│ │ [*] Support daytime service │ │
│ │ [*] Support chargen service │ │
│ │ [ ] Support RPC services │ │
│ │ [ ] ip │ │
│ │ [ ] ipcalc │ │
│ │ [ ] ip │ │
│ │ [ ] ipcalc │ │
│ │ [ ] ipaddr │ │
│ │ [ ] iplink │ │
│ │ [ ] iproute │ │
│ │ [ ] iptunnel │ │
│ │ [ ] nameif │ │
│ │ [*] nc │ │
│ │ [ ] gaping security hole │ │
│ │ [*] netstat │ │
│ [*] nslookup │ │
│ │ [*] ping │ │
│ │ [*] Enable fancy ping output │ │
│ │ --- route │ │
│ │ [*] telnet │ │
│ │ [*] Pass TERM type to remote host │ │
│ │ [ ] Pass USER type to remote host │ │
│ │ [*] telnetd │ │
│ │ [*] Support call from inetd only │ │
│ │ [*] tftp │ │
│ │ [*] inetd │ │
│ │ [*] Support echo service │ │
│ │ [*] Support discard service │ │
│ │ [*] Support time service │ │
│ │ [*] Support daytime service │ │
│ │ [*] Support chargen service │ │
│ │ [ ] Support RPC services │ │
│ │ [ ] ip │ │
│ │ [ ] ipcalc │ │
│ │ [ ] ip │ │
│ │ [ ] ipcalc │ │
│ │ [ ] ipaddr │ │
│ │ [ ] iplink │ │
│ │ [ ] iproute │ │
│ │ [ ] iptunnel │ │
│ │ [ ] nameif │ │
│ │ [*] nc │ │
│ │ [ ] gaping security hole │ │
│ │ [*] netstat │ │
│ [*] nslookup │ │
│ │ [*] ping │ │
│ │ [*] Enable fancy ping output │ │
│ │ --- route │ │
│ │ [*] telnet │ │
│ │ [*] Pass TERM type to remote host │ │
│ │ [ ] Pass USER type to remote host │ │
│ │ [*] telnetd │ │
│ │ [*] Support call from inetd only │ │
│ │ [*] tftp │ │
│ [*] Enable "get" command │ │
│ │ [*] Enable "put" command │ │
│ │ [*] Enable "blocksize" command │ │
│ │ [ ] Enable debug │ │
│ │ [*] traceroute │ │
│ │ [*] Enable verbose output │ │
│ │ [ ] Enable loose source route │ │
│ │ [ ] Use ICMP instead of UDP │ │
│ │ [ ] vconfig │ │
│ │ [*] wget │ │
│ │ [*] Enable "put" command │ │
│ │ [*] Enable "blocksize" command │ │
│ │ [ ] Enable debug │ │
│ │ [*] traceroute │ │
│ │ [*] Enable verbose output │ │
│ │ [ ] Enable loose source route │ │
│ │ [ ] Use ICMP instead of UDP │ │
│ │ [ ] vconfig │ │
│ │ [*] wget │ │
│ [*] Enable a nifty process meter (+2k) │ │
│ │ [*] Enable HTTP authentication │ │
│ │ [*] Enable IPv6 literal addresses │ │
│ │ udhcp Server/Client ---> │ │
│ │ [ ] zcip │ │
│ │ [*] Enable HTTP authentication │ │
│ │ [*] Enable IPv6 literal addresses │ │
│ │ udhcp Server/Client ---> │ │
│ │ [ ] zcip │ │