summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-08-31 02:06:32 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-08-31 02:06:32 +0200
commit45b9a5f095c099afc891d2deb7483b3dd93cd595 (patch)
treeb8112fbe74db785e801058e1ddc5181c9653ccb6 /config
parent3299748b286493bc995db8afadfde3c2d967e2b0 (diff)
cross-android: fix config file for android cross-compilation
Diffstat (limited to 'config')
-rw-r--r--config/cross-android.cbc7
1 files changed, 3 insertions, 4 deletions
diff --git a/config/cross-android.cbc b/config/cross-android.cbc
index 4101ab5..fedd947 100644
--- a/config/cross-android.cbc
+++ b/config/cross-android.cbc
@@ -1,11 +1,10 @@
import os
-from cerbero.config import Platform, Architecture, Distro, Dist
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
target_platform = Platform.ANDROID
target_distro = Distro.ANDROID
target_distro_version =DistroVersion.ANDROID_JELLY_BEAN
-target_arch = Platform.ARM
+target_arch = Architecture.ARM
host = "arm-linux-androideabi"
-toolchain_prefix = "/path/to/android-ndk-r8b"
-
+toolchain_prefix = os.path.expanduser("~/android-ndk-r8b")