Index: build/android/envsetup_functions.sh |
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh |
index 3c7e58f6def5b4483f677bf1a3139fb45a5c7630..4e422a8f490071518baaf2d24b14e59248180bf8 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" |
cjhopman
2013/04/19 18:02:10
For arm/x86 toolchain_dir is set based on host_arc
petarj
2013/04/21 01:17:14
When host_arch is "x86_64", it expects to find fol
Yaron
2013/04/22 22:06:07
Does this actually build when not using a 64-bit t
|
+ ;; |
*) |
echo "TARGET_ARCH: ${TARGET_ARCH} is not supported." >& 2 |
print_usage |
@@ -120,6 +124,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 |