summaryrefslogtreecommitdiffstats
path: root/build/android
diff options
context:
space:
mode:
Diffstat (limited to 'build/android')
-rwxr-xr-xbuild/android/envsetup_functions.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh
index 5ab0bb0..adfbb96 100755
--- a/build/android/envsetup_functions.sh
+++ b/build/android/envsetup_functions.sh
@@ -33,6 +33,10 @@ common_vars_defines() {
"x86")
toolchain_arch="x86"
;;
+ "mips")
+ toolchain_arch="mipsel-linux-android"
+ toolchain_dir="linux-x86"
+ ;;
*)
echo "TARGET_ARCH: ${TARGET_ARCH} is not supported." >& 2
print_usage
@@ -118,6 +122,9 @@ common_vars_defines() {
DEFINES+=" host_arch=${host_arch}"
DEFINES+=" target_arch=ia32"
;;
+ "mips")
+ DEFINES+=" target_arch=mipsel"
+ ;;
*)
echo "TARGET_ARCH: ${TARGET_ARCH} is not supported." >& 2
print_usage