Android comes with a user space utility called Toolbox which is not busybox. It is at system/core/toolbox. But with very limited features.
For using the busybox,
1) Git clone from http://git.busybox.net/busybox/
2) To cross compile with arm tool-chain and building it as static, used the following command.
$ make -j32 CROSS_COMPILE=/projects/mob_tools/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- -I/projects/mob_tools/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/include/ CFLAGS=--static
3) for installing the busybox,
For using the busybox,
1) Git clone from http://git.busybox.net/busybox/
2) To cross compile with arm tool-chain and building it as static, used the following command.
$ make -j32 CROSS_COMPILE=/projects/mob_tools/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- -I/projects/mob_tools/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/include/ CFLAGS=--static
3) for installing the busybox,
No comments:
Post a Comment