[FFmpeg-cvslog] configure: add basic support for ARM AArch64

Mans Rullgard git at videolan.org
Mon Nov 19 14:21:09 CET 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Fri Nov 16 21:02:53 2012 +0000| [5873b623a93cf5e314c6a11445a261b029921545] | committer: Mans Rullgard

configure: add basic support for ARM AArch64

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5873b623a93cf5e314c6a11445a261b029921545
---

 configure |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/configure b/configure
index f577f7c..0239184 100755
--- a/configure
+++ b/configure
@@ -1064,6 +1064,7 @@ THREADS_LIST='
 '
 
 ARCH_LIST='
+    aarch64
     alpha
     arm
     avr32
@@ -2460,6 +2461,9 @@ fi
 
 # Deal with common $arch aliases
 case "$arch" in
+    aarch64|arm64)
+        arch="aarch64"
+    ;;
     arm*)
         arch="arm"
     ;;
@@ -2635,6 +2639,17 @@ elif enabled avr32; then
         ;;
     esac
 
+elif enabled aarch64; then
+
+    case $cpu in
+        armv*)
+            cpuflags="-march=$cpu"
+        ;;
+        *)
+            cpuflags="-mcpu=$cpu"
+        ;;
+    esac
+
 fi
 
 add_cflags $cpuflags



More information about the ffmpeg-cvslog mailing list