busyboxクロスコンパイル

466 ワード

wget  https://busybox.net/downloads/busybox-1.30.0.tar.bz2 
tar xvjf ./busybox-1.30.0.tar.bz2 
cd busybox-1.30.0
make menuconfig
make CROSS_COMPILE=/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin/arm-linux- ARCH=arm
make CROSS_COMPILE=/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin/arm-linux- ARCH=arm CONFIG_PREFIX=/home/yp/busybox/prefix install
ls ../prefix/bin/