[vlc-commits] Contrib: support Tegra2 CPUs on Android
Jean-Baptiste Kempf
git at videolan.org
Thu Mar 29 01:45:21 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar 29 00:29:42 2012 +0200| [db693070f50c53ff101898e8c44639307d341a39] | committer: Jean-Baptiste Kempf
Contrib: support Tegra2 CPUs on Android
Cortex-a9 but no NEON? Seriously?
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=db693070f50c53ff101898e8c44639307d341a39
---
contrib/src/main.mak | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 6c13589..4de50a2 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -106,9 +106,14 @@ ifdef HAVE_NEON
ANDROID_ABI = armeabi-v7a
ANDROID_CPU_FLAGS = -mfpu=neon -mcpu=cortex-a8
else
+ifdef HAVE_TEGRA2
+ ANDROID_ABI = armeabi-v7a
+ ANDROID_CPU_FLAGS = -mfpu=vfpv3-d16 -mcpu=cortex-a9
+else
ANDROID_ABI = armeabi
ANDROID_CPU_FLAGS = -mcpu=arm1136jf-s -mfpu=vfp
endif
+endif
EXTRA_CFLAGS += -D__STDC_VERSION__=199901L -I$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/include
EXTRA_CFLAGS += -I$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/$(ANDROID_ABI)/include
EXTRA_CFLAGS += -mfloat-abi=softfp $(ANDROID_CPU_FLAGS)
More information about the vlc-commits
mailing list