Ignore:
Timestamp:
Mar 9, 2007 8:46:10 AM (17 years ago)
Author:
bennylp
Message:

Ticket #165: Updated config.sub to support new targets (eg. blackfin)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/config.sub

    r625 r1051  
    22# Configuration validation subroutine script. 
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
    4 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc. 
    5  
    6 timestamp='2003-06-18' 
     4#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 
     5 
     6timestamp='2005-04-22' 
    77 
    88# This file is (in principle) common to ALL GNU software. 
     
    7171GNU config.sub ($timestamp) 
    7272 
    73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 
     73Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    7474Free Software Foundation, Inc. 
    7575 
     
    119119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 
    120120case $maybe_os in 
    121   nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) 
     121  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ 
     122  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) 
    122123    os=-$maybe_os 
    123124    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 
     
    145146        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 
    146147        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 
    147         -apple | -axis) 
     148        -apple | -axis | -knuth | -cray) 
    148149                os= 
    149150                basic_machine=$1 
     
    229230        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 
    230231        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 
     232        | am33_2.0 \ 
    231233        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ 
     234        | bfin \ 
    232235        | c4x | clipper \ 
    233236        | d10v | d30v | dlx | dsp16xx \ 
     
    235238        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 
    236239        | i370 | i860 | i960 | ia64 \ 
    237         | ip2k \ 
    238         | m32r | m68000 | m68k | m88k | mcore \ 
     240        | ip2k | iq2000 \ 
     241        | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ 
    239242        | mips | mipsbe | mipseb | mipsel | mipsle \ 
    240243        | mips16 \ 
     
    248251        | mipsisa32r2 | mipsisa32r2el \ 
    249252        | mipsisa64 | mipsisa64el \ 
     253        | mipsisa64r2 | mipsisa64r2el \ 
    250254        | mipsisa64sb1 | mipsisa64sb1el \ 
    251255        | mipsisa64sr71k | mipsisa64sr71kel \ 
     
    258262        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 
    259263        | pyramid \ 
    260         | s390 | s390x \ 
    261264        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 
    262265        | sh64 | sh64le \ 
    263         | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ 
     266        | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ 
     267        | sparcv8 | sparcv9 | sparcv9b \ 
    264268        | strongarm \ 
    265269        | tahoe | thumb | tic4x | tic80 | tron \ 
    266270        | v850 | v850e \ 
    267271        | we32k \ 
    268         | x86 | xscale | xstormy16 | xtensa \ 
     272        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ 
    269273        | z8k) 
    270274                basic_machine=$basic_machine-unknown 
     
    297301        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \ 
    298302        | avr-* \ 
    299         | bs2000-* \ 
     303        | bfin-* | bs2000-* \ 
    300304        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 
    301         | clipper-* | cydra-* \ 
     305        | clipper-* | craynv-* | cydra-* \ 
    302306        | d10v-* | d30v-* | dlx-* \ 
    303307        | elxsi-* \ 
     
    306310        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 
    307311        | i*86-* | i860-* | i960-* | ia64-* \ 
    308         | ip2k-* \ 
    309         | m32r-* \ 
     312        | ip2k-* | iq2000-* \ 
     313        | m32r-* | m32rle-* \ 
    310314        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 
    311         | m88110-* | m88k-* | mcore-* \ 
     315        | m88110-* | m88k-* | maxq-* | mcore-* \ 
    312316        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 
    313317        | mips16-* \ 
     
    321325        | mipsisa32r2-* | mipsisa32r2el-* \ 
    322326        | mipsisa64-* | mipsisa64el-* \ 
     327        | mipsisa64r2-* | mipsisa64r2el-* \ 
    323328        | mipsisa64sb1-* | mipsisa64sb1el-* \ 
    324329        | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 
    325330        | mipstx39-* | mipstx39el-* \ 
     331        | mmix-* \ 
    326332        | msp430-* \ 
    327         | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ 
     333        | none-* | np1-* | ns16k-* | ns32k-* \ 
    328334        | orion-* \ 
    329335        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 
     
    331337        | pyramid-* \ 
    332338        | romp-* | rs6000-* \ 
    333         | s390-* | s390x-* \ 
    334339        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 
    335340        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 
    336         | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 
    337         | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 
     341        | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ 
     342        | sparclite-* \ 
     343        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 
    338344        | tahoe-* | thumb-* \ 
    339345        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 
     
    341347        | v850-* | v850e-* | vax-* \ 
    342348        | we32k-* \ 
    343         | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ 
    344         | xtensa-* \ 
     349        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ 
     350        | xstormy16-* | xtensa-* \ 
    345351        | ymp-* \ 
    346352        | z8k-*) 
     
    362368                os=-udi 
    363369                ;; 
     370        abacus) 
     371                basic_machine=abacus-unknown 
     372                ;; 
    364373        adobe68k) 
    365374                basic_machine=m68010-adobe 
     
    379388                basic_machine=x86_64-pc 
    380389                ;; 
     390        amd64-*) 
     391                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` 
     392                ;; 
    381393        amdahl) 
    382394                basic_machine=580-amdahl 
     
    438450                os=-unicos 
    439451                ;; 
     452        craynv) 
     453                basic_machine=craynv-cray 
     454                os=-unicosmp 
     455                ;; 
     456        cr16c) 
     457                basic_machine=cr16c-unknown 
     458                os=-elf 
     459                ;; 
    440460        crds | unos) 
    441461                basic_machine=m68k-crds 
    442462                ;; 
     463        crisv32 | crisv32-* | etraxfs*) 
     464                basic_machine=crisv32-axis 
     465                ;; 
    443466        cris | cris-* | etrax*) 
    444467                basic_machine=cris-axis 
     468                ;; 
     469        crx) 
     470                basic_machine=crx-unknown 
     471                os=-elf 
    445472                ;; 
    446473        da30 | da30-*) 
     
    465492                basic_machine=m88k-motorola 
    466493                os=-sysv3 
     494                ;; 
     495        djgpp) 
     496                basic_machine=i586-pc 
     497                os=-msdosdjgpp 
    467498                ;; 
    468499        dpx20 | dpx20-*) 
     
    643674        mips3*) 
    644675                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 
    645                 ;; 
    646         mmix*) 
    647                 basic_machine=mmix-knuth 
    648                 os=-mmixware 
    649676                ;; 
    650677        monitor) 
     
    728755                basic_machine=np1-gould 
    729756                ;; 
    730         nv1) 
    731                 basic_machine=nv1-cray 
    732                 os=-unicosmp 
    733                 ;; 
    734757        nsr-tandem) 
    735758                basic_machine=nsr-tandem 
     
    743766                os=-coff 
    744767                ;; 
     768        os400) 
     769                basic_machine=powerpc-ibm 
     770                os=-os400 
     771                ;; 
    745772        OSE68000 | ose68000) 
    746773                basic_machine=m68000-ericsson 
     
    834861                basic_machine=romp-ibm 
    835862                ;; 
     863        s390 | s390-*) 
     864                basic_machine=s390-ibm 
     865                ;; 
     866        s390x | s390x-*) 
     867                basic_machine=s390x-ibm 
     868                ;; 
    836869        sa29200) 
    837870                basic_machine=a29k-amd 
     
    957990                basic_machine=m68k-ncr 
    958991                ;; 
     992        tpf) 
     993                basic_machine=s390x-ibm 
     994                os=-tpf 
     995                ;; 
    959996        udi29k) 
    960997                basic_machine=a29k-amd 
     
    9991036                basic_machine=hppa1.1-winbond 
    10001037                os=-proelf 
     1038                ;; 
     1039        xbox) 
     1040                basic_machine=i686-pc 
     1041                os=-mingw32 
    10011042                ;; 
    10021043        xps | xps100) 
     
    10301071                basic_machine=romp-ibm 
    10311072                ;; 
     1073        mmix) 
     1074                basic_machine=mmix-knuth 
     1075                ;; 
    10321076        rs6000) 
    10331077                basic_machine=rs6000-ibm 
     
    10521096                basic_machine=sh64-unknown 
    10531097                ;; 
    1054         sparc | sparcv9 | sparcv9b) 
     1098        sparc | sparcv8 | sparcv9 | sparcv9b) 
    10551099                basic_machine=sparc-sun 
    10561100                ;; 
     
    11251169              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 
    11261170              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 
    1127               | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 
    1128               | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 
     1171              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ 
     1172              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 
     1173              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 
    11291174              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 
    11301175              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 
    11311176              | -chorusos* | -chorusrdb* \ 
    11321177              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 
    1133               | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 
     1178              | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ 
    11341179              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 
    11351180              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 
     
    11371182              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 
    11381183              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 
    1139               | -powermax* | -dnix* | -nx6 | -nx7 | -sei*) 
     1184              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) 
    11401185        # Remember, each alternative MUST END IN *, to match a version number. 
    11411186                ;; 
     
    11611206                os=`echo $os | sed -e 's|mac|macos|'` 
    11621207                ;; 
     1208        -linux-dietlibc) 
     1209                os=-linux-dietlibc 
     1210                ;; 
    11631211        -linux*) 
    11641212                os=`echo $os | sed -e 's|linux|linux-gnu|'` 
     
    11731221                os=-openedition 
    11741222                ;; 
     1223        -os400*) 
     1224                os=-os400 
     1225                ;; 
    11751226        -wince*) 
    11761227                os=-wince 
     
    11931244        -atheos*) 
    11941245                os=-atheos 
     1246                ;; 
     1247        -syllable*) 
     1248                os=-syllable 
    11951249                ;; 
    11961250        -386bsd) 
     
    12161270                os=-sysv4 
    12171271                ;; 
     1272        -tpf*) 
     1273                os=-tpf 
     1274                ;; 
    12181275        -triton*) 
    12191276                os=-sysv3 
     
    12511308        -kaos*) 
    12521309                os=-kaos 
     1310                ;; 
     1311        -zvmoe) 
     1312                os=-zvmoe 
    12531313                ;; 
    12541314        -none) 
     
    12831343                os=-aout 
    12841344                ;; 
    1285         c4x-* | tic4x-*) 
    1286                 os=-coff 
    1287                 ;; 
     1345    c4x-* | tic4x-*) 
     1346        os=-coff 
     1347        ;; 
    12881348        # This must come before the *-dec entry. 
    12891349        pdp10-*) 
     
    13311391        *-ibm) 
    13321392                os=-aix 
     1393                ;; 
     1394        *-knuth) 
     1395                os=-mmixware 
    13331396                ;; 
    13341397        *-wec) 
     
    14641527                                vendor=ibm 
    14651528                                ;; 
     1529                        -os400*) 
     1530                                vendor=ibm 
     1531                                ;; 
    14661532                        -ptx*) 
    14671533                                vendor=sequent 
     1534                                ;; 
     1535                        -tpf*) 
     1536                                vendor=ibm 
    14681537                                ;; 
    14691538                        -vxsim* | -vxworks* | -windiss*) 
Note: See TracChangeset for help on using the changeset viewer.