http://roycormier.net/2010/11/03/how-to-cross-compile-bash-for-android/
Follow these steps to compile the BASH shell for ARM (Android devices).
If you’re looking for a copy of the BASH binary you can download it HERE
Download the ARM Toolkit (http://www.codesourcery.com/gnu_toolchains/arm/download.html)
Download the Bash Source code (http://ftp.gnu.org/gnu/bash/), I used v 4.1
# export CC=arm-none-linux-gnueabi-gcc
# ./configure –host=arm-linux –enable-static-link –without-bash-malloc
Edit Makefile and add “-static” to CFLAGS
vi Makefile
CFLAGS = -g -O2 -static
Build the source
# make
# file bash
bash: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.16, not stripped
* bs에 bash 을 넣을때 static으로 컴팔하자.