This is an old revision of the document!
우선 현재 설치되어 있는 컴파일러를 사용할 예정이다. linaro에서 다운받은 컴파일러 이다.
1. 간단한 형태의 root filesystem 의 레이아웃을 우선 간단하게 잡아본다.
2. 레이아웃에 맞게 디렉토리를 생성
$ mkdir rootfs $ cd rootfs $ mkdir bin dev etc lib proc sys sbin usr $ mkdir etc/init.d usr/bin usr/sbin
3. Busybox 를 복제
$ cd .. $ git clone git://busybox.net/busybox.git
4. Busybox 설정
$ cd busybox $ make defconfig $ make menuconfig
BusyBox Settings→Build static library
BusyBox Settings→Cross Compile prefix : /home/stephanos/VI/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf\bin\arm-linux-gnueabihf-
→설치된 자신의 크로스 컴파일러의 경로를 사용한다.
BusyBox Settings→Destination path for 'make install' : /home/stephanos/rootfs
→위에서 만들었던 root file system 폴더
5. Busybox 를 빌드하고 인스톨
$ make $ make install