]> git.sesse.net Git - ffmpeg/commitdiff
configure: add AVR32 names for --cpu flag
authorMåns Rullgård <mans@mansr.com>
Mon, 17 Aug 2009 00:15:48 +0000 (00:15 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 17 Aug 2009 00:15:48 +0000 (00:15 +0000)
Recognise AVR32 processor names as well as the generic "ap" and "uc"
family names as values for --cpu.  Also define two subtypes, avr32_ap
and avr32_uc.

Originally committed as revision 19663 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index f75c71caaf39b50f69cd8d881e0d757e116defa1..b86b6f054d7816e2f835ecd63db98c70b9fb7777 100755 (executable)
--- a/configure
+++ b/configure
@@ -865,6 +865,9 @@ THREADS_LIST='
 ARCH_LIST='
     alpha
     arm
+    avr32
+    avr32_ap
+    avr32_uc
     bfin
     ia64
     m68k
@@ -1687,6 +1690,22 @@ case $cpu in
     mips*|[45]k*|[237]4k*|m4k|r*000|loongson2[ef])
         cpuflags="-march=$cpu"
     ;;
+    ap7[02]0[0-2])
+        subarch="avr32_ap"
+        cpuflags="-mpart=$cpu"
+    ;;
+    ap)
+        subarch="avr32_ap"
+        cpuflags="-march=$cpu"
+    ;;
+    uc3[ab]*)
+        subarch="avr32_uc"
+        cpuflags="-mcpu=$cpu"
+    ;;
+    uc)
+        subarch="avr32_uc"
+        cpuflags="-march=$cpu"
+    ;;
     generic)
     ;;
     *)