aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-17 00:15:48 +0000
committerMåns Rullgård <mans@mansr.com>2009-08-17 00:15:48 +0000
commitfdcd782dd950eb282a71bb2f06b9972be368c3b0 (patch)
treeeff69f604ae113b05c63bf969bdba7b28562c6b9
parent8ba939d7020ba51267df612c14cd870d03f428fc (diff)
downloadffmpeg-fdcd782dd950eb282a71bb2f06b9972be368c3b0.tar.gz
configure: add AVR32 names for --cpu flag
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
-rwxr-xr-xconfigure19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure b/configure
index f75c71caaf..b86b6f054d 100755
--- 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)
;;
*)