build-scripts/config.sub
changeset 3353 6b14223dd5c7
parent 3086 0102ed19c21a
child 6442 2d3caa191dc4
     1.1 --- a/build-scripts/config.sub	Wed Oct 07 14:29:59 2009 +0000
     1.2 +++ b/build-scripts/config.sub	Thu Oct 08 07:08:45 2009 +0000
     1.3 @@ -1,10 +1,10 @@
     1.4  #! /bin/sh
     1.5  # Configuration validation subroutine script.
     1.6  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     1.7 -#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
     1.8 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
     1.9  #   Free Software Foundation, Inc.
    1.10  
    1.11 -timestamp='2009-02-03'
    1.12 +timestamp='2009-10-07'
    1.13  
    1.14  # This file is (in principle) common to ALL GNU software.
    1.15  # The presence of a machine in this file suggests that SOME GNU software
    1.16 @@ -32,13 +32,16 @@
    1.17  
    1.18  
    1.19  # Please send patches to <config-patches@gnu.org>.  Submit a context
    1.20 -# diff and a properly formatted ChangeLog entry.
    1.21 +# diff and a properly formatted GNU ChangeLog entry.
    1.22  #
    1.23  # Configuration subroutine to validate and canonicalize a configuration type.
    1.24  # Supply the specified configuration type as an argument.
    1.25  # If it is invalid, we print an error message on stderr and exit with code 1.
    1.26  # Otherwise, we print the canonical config type on stdout and succeed.
    1.27  
    1.28 +# You can get the latest version of this script from:
    1.29 +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
    1.30 +
    1.31  # This file is supposed to be the same for all GNU packages
    1.32  # and recognize all the CPU types, system types and aliases
    1.33  # that are meaningful with *any* GNU software.
    1.34 @@ -149,10 +152,13 @@
    1.35  	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
    1.36  	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    1.37  	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
    1.38 -	-apple | -axis | -knuth | -cray)
    1.39 +	-apple | -axis | -knuth | -cray | -microblaze)
    1.40  		os=
    1.41  		basic_machine=$1
    1.42  		;;
    1.43 +        -bluegene*)
    1.44 +	        os=-cnk
    1.45 +		;;
    1.46  	-sim | -cisco | -oki | -wec | -winbond)
    1.47  		os=
    1.48  		basic_machine=$1
    1.49 @@ -272,6 +278,7 @@
    1.50  	| mipsisa64sr71k | mipsisa64sr71kel \
    1.51  	| mipstx39 | mipstx39el \
    1.52  	| mn10200 | mn10300 \
    1.53 +	| moxie \
    1.54  	| mt \
    1.55  	| msp430 \
    1.56  	| nios | nios2 \
    1.57 @@ -280,6 +287,7 @@
    1.58  	| pdp10 | pdp11 | pj | pjl \
    1.59  	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    1.60  	| pyramid \
    1.61 +	| rx \
    1.62  	| score \
    1.63  	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    1.64  	| sh64 | sh64le \
    1.65 @@ -293,7 +301,7 @@
    1.66  	| z8k | z80)
    1.67  		basic_machine=$basic_machine-unknown
    1.68  		;;
    1.69 -	m6811 | m68hc11 | m6812 | m68hc12)
    1.70 +	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
    1.71  		# Motorola 68HC11/12.
    1.72  		basic_machine=$basic_machine-unknown
    1.73  		os=-none
    1.74 @@ -336,7 +344,7 @@
    1.75  	| lm32-* \
    1.76  	| m32c-* | m32r-* | m32rle-* \
    1.77  	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    1.78 -	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
    1.79 +	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
    1.80  	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
    1.81  	| mips16-* \
    1.82  	| mips64-* | mips64el-* \
    1.83 @@ -364,7 +372,7 @@
    1.84  	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
    1.85  	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
    1.86  	| pyramid-* \
    1.87 -	| romp-* | rs6000-* \
    1.88 +	| romp-* | rs6000-* | rx-* \
    1.89  	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    1.90  	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
    1.91  	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
    1.92 @@ -466,6 +474,10 @@
    1.93  		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
    1.94  		os=-linux
    1.95  		;;
    1.96 +	bluegene*)
    1.97 +		basic_machine=powerpc-ibm
    1.98 +		os=-cnk
    1.99 +		;;
   1.100  	c90)
   1.101  		basic_machine=c90-cray
   1.102  		os=-unicos
   1.103 @@ -718,6 +730,9 @@
   1.104  		basic_machine=ns32k-utek
   1.105  		os=-sysv
   1.106  		;;
   1.107 +        microblaze)
   1.108 +		basic_machine=microblaze-xilinx
   1.109 +		;;
   1.110  	mingw32)
   1.111  		basic_machine=i386-pc
   1.112  		os=-mingw32
   1.113 @@ -1259,7 +1274,7 @@
   1.114  	# Each alternative MUST END IN A *, to match a version number.
   1.115  	# -sysv* is not here because it comes later, after sysvr4.
   1.116  	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
   1.117 -	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
   1.118 +	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
   1.119  	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
   1.120  	      | -kopensolaris* \
   1.121  	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
   1.122 @@ -1282,7 +1297,7 @@
   1.123  	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
   1.124  	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
   1.125  	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
   1.126 -	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
   1.127 +	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
   1.128  	# Remember, each alternative MUST END IN *, to match a version number.
   1.129  		;;
   1.130  	-qnx*)
   1.131 @@ -1612,7 +1627,7 @@
   1.132  			-sunos*)
   1.133  				vendor=sun
   1.134  				;;
   1.135 -			-aix*)
   1.136 +			-cnk*|-aix*)
   1.137  				vendor=ibm
   1.138  				;;
   1.139  			-beos*)