[Android] More readable variable

Jean-Baptiste Kempf git at videolan.org
Wed Feb 4 19:59:25 CET 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb  4 19:59:14 2015 +0100| [57c57a43aa441a627b1948793e356f97d548809c] | committer: Jean-Baptiste Kempf

More readable variable

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=57c57a43aa441a627b1948793e356f97d548809c
---

 compile-libvlc.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 04a08fb..885aed5 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -38,7 +38,7 @@ if [ ${ANDROID_ABI} == "armeabi-nofpu" ];then
     ANDROID_ABI="armeabi"
 fi
 if [ ${ANDROID_ABI} == "armeabi-v5" ];then
-    NO_ARMV6=0
+    ARMV5=1
     NO_FPU=0
     ANDROID_ABI="armeabi"
 fi
@@ -84,7 +84,7 @@ echo "ABI:        $ANDROID_ABI"
 if [ ! -z "$NO_FPU" ]; then
 echo "FPU:        NO"
 fi
-if [ ! -z "$NO_ARMV6" ]; then
+if [ ! -z "$ARMV5" ]; then
 echo "ARMv5:       YES"
 fi
 
@@ -132,7 +132,7 @@ if [ ${ANDROID_ABI} = "armeabi-v7a" ] ; then
     EXTRA_CFLAGS="-mfpu=vfpv3-d16 -mcpu=cortex-a8"
     EXTRA_CFLAGS="${EXTRA_CFLAGS} -mthumb -mfloat-abi=softfp"
 elif [ ${ANDROID_ABI} = "armeabi" ] ; then
-    if [ -n "${NO_ARMV6}" ]; then
+    if [ -n "${ARMV5}" ]; then
         EXTRA_CFLAGS="-march=armv5te -mtune=arm9tdmi -msoft-float"
     else
         if [ -n "${NO_FPU}" ]; then



More information about the Android mailing list