changeset 28577:4f37b9cb7343

Make configure recognize avr32. patch by Hans-Christian Egtvedt, hans-christian.egtvedt atmel com
author diego
date Mon, 16 Feb 2009 17:02:16 +0000
parents a6b506faeb34
children 8c9ed8e6fc99
files configure
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Feb 16 02:00:29 2009 +0000
+++ b/configure	Mon Feb 16 17:02:16 2009 +0000
@@ -1695,7 +1695,7 @@
 
 
 def_fast_64bit='#define HAVE_FAST_64BIT 0'
-_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM SH4 PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA GENERIC'
+_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM AVR32 SH4 PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA GENERIC'
 case "$host_arch" in
   i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
   _arch='X86 X86_32'
@@ -2054,6 +2054,12 @@
     iproc='arm'
     ;;
 
+  avr32)
+    _arch='AVR32'
+    _target_arch='ARCH_AVR32 = yes'
+    iproc='avr32'
+    ;;
+
   sh|sh4)
     _arch='SH4'
     _target_arch='ARCH_SH4 = yes'