二、根文件系统
0. 准备工作
目标目录
#mkdir rootfs1.0
CROSS_COMPILE
在用户根目录建立一个新文件:.pam_environment
内容如下:
CROSS_COMPILE DEFAULT=/home/at91/x-tools/arm-softfp-linux-gnueabi/bin/arm-softfp-linux-gnueabi-
1. 自动完成部分
(1) 配置选项
#make ARCH=armmenuconfig
Busybox Settings à
Build Options à
[*] Build Busybox as a staticbinary (no shared libs)

(2) 目标目录
#make ARCH=arm
#make ARCH=armCONFIG_PREFIX=/home/at91/rootfs1.0 install
安装成功:
--------------------------------------------------
You will probablyneed to make your busybox binary
setuid root toensure all configured applets will
work properly.
--------------------------------------------------
本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-02/113131.htm
