步骤2:先创建空的根文件系统
mkdir rootfs
cd rootfs
mkdir dev etc lib usr var proc tmp home root mnt bin sbin opt sys media
步骤3:使用工具构建/bin /sbin linuxrc
tar xvf busybox-1.21.1.tar.bz2
cd busybox-1.21.1
make defconfig
make menuconfig
make
make install步骤4:将工具构建/bin /sbin linuxrc拷贝到空的根文件系统中
cd _install
cp bin sbin usr linuxrc /home/edu/share/rootfs -rfa
步骤5:构造lib目录
cd /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/lib
cp *so* /home/edu/share/rootfs/lib -a
cd /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/usr/lib
cp ./libstdc++.so.* /home/edu/share/rootfs/lib -a 步骤6:构造etc目录