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 f75c71c..b86b6f0 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)
     ;;
     *)