First page Back Continue Last page Overview Graphics
Compiling BusyBox
If cross-compiling, choose the target CPU architecture
and cross-compiler in Makefile (just as in the Linux kernel):
ARCH ?= arm
CROSS_COMPILE ?= arm-linux-
Add the cross-compiler path to the PATH environment variable:
export PATH=/usr/local/arm/3.3.2/bin:$PATH
Compile BusyBox:
make
Install it (this creates a Unix directory structure in _install with all the symbolic links to the busybox executable):
make install
Logged as root, mount the root fs image (e.g. /mnt/rootfs)
rsync -a _install/ /mnt/rootfs/