зеркало из https://github.com/mozilla/gecko-dev.git
Bug 756740 - Allow to build for mipsel with Android NDK r8. r=ted
This commit is contained in:
Родитель
af852a983a
Коммит
be2f2c3490
12
configure.in
12
configure.in
|
@ -193,6 +193,9 @@ arm-linux*-android*|*-linuxandroid*)
|
|||
i?86-*android*)
|
||||
android_tool_prefix="i686-android-linux"
|
||||
;;
|
||||
mipsel-*android*)
|
||||
android_tool_prefix="mipsel-linux-android"
|
||||
;;
|
||||
*)
|
||||
android_tool_prefix="$target_os"
|
||||
;;
|
||||
|
@ -315,6 +318,9 @@ case "$target" in
|
|||
i?86)
|
||||
target_name=x86-4.4.3
|
||||
;;
|
||||
mipsel)
|
||||
target_name=mipsel-linux-android-4.4.3
|
||||
;;
|
||||
esac
|
||||
android_toolchain="$android_ndk"/toolchains/$target_name/prebuilt/$kernel_name-x86
|
||||
|
||||
|
@ -335,6 +341,9 @@ case "$target" in
|
|||
i?86)
|
||||
target_name=x86
|
||||
;;
|
||||
mipsel)
|
||||
target_name=mips
|
||||
;;
|
||||
esac
|
||||
|
||||
android_platform="$android_ndk"/platforms/android-"$android_version"/arch-"$target_name"
|
||||
|
@ -1587,6 +1596,9 @@ if test "$OS_TARGET" = "Android"; then
|
|||
x86-*)
|
||||
ANDROID_CPU_ARCH=x86
|
||||
;;
|
||||
mips-*) # When target_cpu is mipsel, CPU_ARCH is mips
|
||||
ANDROID_CPU_ARCH=mips
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
|
@ -185,6 +185,9 @@ arm-linux*-android*|*-linuxandroid*)
|
|||
i?86-*android*)
|
||||
android_tool_prefix="i686-android-linux"
|
||||
;;
|
||||
mipsel-*android*)
|
||||
android_tool_prefix="mipsel-linux-android"
|
||||
;;
|
||||
*)
|
||||
android_tool_prefix="$target_os"
|
||||
;;
|
||||
|
@ -306,6 +309,9 @@ case "$target" in
|
|||
i?86)
|
||||
target_name=x86-4.4.3
|
||||
;;
|
||||
mipsel)
|
||||
target_name=mipsel-linux-android-4.4.3
|
||||
;;
|
||||
esac
|
||||
android_toolchain="$android_ndk"/toolchains/$target_name/prebuilt/$kernel_name-x86
|
||||
|
||||
|
@ -326,6 +332,9 @@ case "$target" in
|
|||
i?86)
|
||||
target_name=x86
|
||||
;;
|
||||
mipsel)
|
||||
target_name=mips
|
||||
;;
|
||||
esac
|
||||
|
||||
android_platform="$android_ndk"/platforms/android-"$android_version"/arch-"$target_name"
|
||||
|
@ -1473,6 +1482,9 @@ if test "$OS_TARGET" = "Android"; then
|
|||
x86-*)
|
||||
ANDROID_CPU_ARCH=x86
|
||||
;;
|
||||
mips-*) # When target_cpu is mipsel, CPU_ARCH is mips
|
||||
ANDROID_CPU_ARCH=mips
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче