[Scummvm-devel] Android port

Angus Lees alees at google.com
Tue Oct 26 13:40:48 CEST 2010


On Tue, Oct 26, 2010 at 20:24, Michael Nicholls <nicholls.mc at gmail.com> wrote:
> With a little guidance I am sure I would be able to build a new toolchain.
> How difficult is it Gus?

This is a bit off-topic, but it is very easy to compile the toolchain
yourself - it just takes ~20GB of disk and a decent amount of CPU time
to (automatically) download and build all the dependencies.  The real
fix to make the toolchain less dependent on host libraries is in the
OpenEmbedded pipeline, but that change will be quite disruptive and
results might not surface for a while yet.

 git clone git://github.com/anguslees/openembedded-android.git
openembedded-android
 Create a build/conf/local.conf (example below)
 export BBPATH=`pwd`/build:`pwd`/openembedded-android
 Install the "bitbake" tool (apt-get or from source)
 cd build; bitbake meta-toolchain-android
 (wait for a long time)

This gives you a build/tmp/deploy/sdk/android-*-toolchain-android.tar.bz2

Example build/conf/local.conf
 BBFILES = "<openembedded source dir>/openembedded/recipes/*/*.bb"
 DISTRO = "android"
 MACHINE = "android-generic-armeabi"
 # Lots more options exist that could save you unnecessary compile time, like:
 ASSUME_PROVIDED += "virtual/java-native"
 ASSUME_PROVIDED += "virtual/javac-native"

 - Gus




More information about the Scummvm-devel mailing list