Switched to chroot+qemu-arm-static build, like native.
Added mounting /dev/pts.
Fix build.sh and add build-essentials and gcc4.7 to the prepare script.
Fixed gitignore and added Makefile.include