Android SDK on FreeBSD
- Add ":FreeBSD-host" to the "git fetch..." line in the "fetchgitorious.sh" script
- Run "fetchgitorious.sh" and "switch2freebroid.sh"
- Set JAVA_VERSION to 1.5
- Set JAVA_HOME and ANDROID_JAVA_HOME to "/usr/local/diablo-jdk1.5.0"
- Patch "external/srec/tools/grxmlcompile/Android.mk" to not add "-ldl" to LOCAL_LDFLAGS. I did this by splitting out that clause to a separate line and wrapping it in an ifdef statement.
- Set LD_LIBRARY_PATH to "out/host/freebsd-x86/lib"
- Go to external/qemu/distrib/sdl-1.2.12
- Run "bash android-configure.sh --prefix=\"
- "gmake -j2" & "gmake install" the modified SDL package
- copy prebuilt/linux-x86/sdl/Android.mk to prebuilt/freebsd-x86/sdl
- copy prebuilt/linux-x86/sdl/lib/Android.mk to prebuilt/freebsd-x86/sdl/lib
- try to gmake at "mydroid" root.