2.交叉编译lzo
./configure --host=i686 --target=arm-linux CC=arm-none-linux-gnueabi-gcc --prefix=/home/default/share/mtd_ulity/pub CFLAGS=-static
make
make install
3.交叉编译libuuid-1.0.3
./configure --host=arm-linux CC=arm-none-linux-gnueabi-gcc --prefix=/home/default/share/mtd_ulity/pub
make
make install
4.交叉编译e2fsprogs(可选,可不用)
./configure --host=arm-linux CC=arm-none-linux-gnueabi-gcc --prefix=/home/default/share/mtd_ulity/pub
make
make install
5.交叉编译mtd-utils
make CROSS=arm-none-linux-gnueabi- CFLAGS="-I/home/default/share/mtd_ulity/pub/include -I./include -L/home/default/share/mtd_ulity/pub/lib -DWITHOUT_XATTR" LDFLAGS="-L/home/default/share/mtd_ulity/pub/lib"
make