Index: build/android/envsetup_functions.sh |
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh |
index 5ab0bb096b662296eca51fce0cb065e6d7c0abab..adfbb9682c577179c358c705c47d98d972ed53f5 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 |