[vlc-devel] [PATCH v2 3/9] contrib/bootstrap: add arm64 for android

Thomas Guillem tom at gllm.fr
Thu Oct 9 18:45:21 CEST 2014


---
 contrib/bootstrap | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 387f665..da45f62 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -215,6 +215,9 @@ check_android_sdk()
 	add_make "ANDROID_API := ${ANDROID_API}"
 	[ ${ANDROID_ABI} = "armeabi-v7a" ] && add_make_enabled "HAVE_NEON"
 	[ ${ANDROID_ABI} = "armeabi-v7a" ] && add_make_enabled "HAVE_ARMV7A"
+	[ ${ANDROID_ABI} = "arm64-v8a" ] && add_make_enabled "HAVE_NEON"
+	[ ${ANDROID_ABI} = "arm64-v8a" ] && add_make_enabled "HAVE_ARMV7A"
+	[ ${ANDROID_ABI} = "arm64-v8a" ] && add_make_enabled "HAVE_ARMV8A"
 	[ ${ANDROID_ABI} = "armeabi" -a -z "${NO_ARMV6}" ] && add_make_enabled "HAVE_ARMV6"
 }
 
@@ -250,6 +253,9 @@ case "${OS}" in
 			*arm*)
 			add_make "PLATFORM_SHORT_ARCH := arm"
 			;;
+			*arm64*)
+			add_make "PLATFORM_SHORT_ARCH := arm64"
+			;;
 			*i686*)
 			add_make "PLATFORM_SHORT_ARCH := x86"
 			;;
-- 
2.1.0




More information about the vlc-devel mailing list