~ubuntu-branches/ubuntu/trusty/rawstudio/trusty-proposed

« back to all changes in this revision

Viewing changes to config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-04-20 10:52:00 UTC
  • mfrom: (2.1.8 upstream) (1.1.13 hardy)
  • Revision ID: james.westby@ubuntu.com-20080420105200-kaaznfiftfmz2tsc
Tags: 1.0-1
* New upstream release (Closes: #476828).
* Removing 01-icon-path.dpatch, not required anymore.
* Removing watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Configuration validation subroutine script.
3
3
#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
 
#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
5
 
#   Inc.
 
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2006-07-02'
 
7
timestamp='2008-01-16'
8
8
 
9
9
# This file is (in principle) common to ALL GNU software.
10
10
# The presence of a machine in this file suggests that SOME GNU software
72
72
version="\
73
73
GNU config.sub ($timestamp)
74
74
 
75
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
76
 
Free Software Foundation, Inc.
 
75
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
 
76
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
77
77
 
78
78
This is free software; see the source for copying conditions.  There is NO
79
79
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
245
245
        | bfin \
246
246
        | c4x | clipper \
247
247
        | d10v | d30v | dlx | dsp16xx \
248
 
        | fr30 | frv \
 
248
        | fido | fr30 | frv \
249
249
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
250
        | i370 | i860 | i960 | ia64 \
251
251
        | ip2k | iq2000 \
252
252
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore \
 
253
        | maxq | mb | microblaze | mcore | mep \
254
254
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
255
        | mips16 \
256
256
        | mips64 | mips64el \
276
276
        | pdp10 | pdp11 | pj | pjl \
277
277
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
278
        | pyramid \
 
279
        | score \
279
280
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
280
281
        | sh64 | sh64le \
281
282
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
284
285
        | tahoe | thumb | tic4x | tic80 | tron \
285
286
        | v850 | v850e \
286
287
        | we32k \
287
 
        | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
 
288
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
288
289
        | z8k)
289
290
                basic_machine=$basic_machine-unknown
290
291
                ;;
323
324
        | clipper-* | craynv-* | cydra-* \
324
325
        | d10v-* | d30v-* | dlx-* \
325
326
        | elxsi-* \
326
 
        | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
 
327
        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
327
328
        | h8300-* | h8500-* \
328
329
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
329
330
        | i*86-* | i860-* | i960-* | ia64-* \
367
368
        | tron-* \
368
369
        | v850-* | v850e-* | vax-* \
369
370
        | we32k-* \
370
 
        | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
371
 
        | xstormy16-* | xtensa-* \
 
371
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
 
372
        | xstormy16-* | xtensa*-* \
372
373
        | ymp-* \
373
374
        | z8k-*)
374
375
                ;;
 
376
        # Recognize the basic CPU types without company name, with glob match.
 
377
        xtensa*)
 
378
                basic_machine=$basic_machine-unknown
 
379
                ;;
375
380
        # Recognize the various machine names and aliases which stand
376
381
        # for a CPU type and a company and sometimes even an OS.
377
382
        386bsd)
442
447
                basic_machine=ns32k-sequent
443
448
                os=-dynix
444
449
                ;;
 
450
        blackfin)
 
451
                basic_machine=bfin-unknown
 
452
                os=-linux
 
453
                ;;
 
454
        blackfin-*)
 
455
                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 
456
                os=-linux
 
457
                ;;
445
458
        c90)
446
459
                basic_machine=c90-cray
447
460
                os=-unicos
474
487
                basic_machine=craynv-cray
475
488
                os=-unicosmp
476
489
                ;;
477
 
        cr16c)
478
 
                basic_machine=cr16c-unknown
 
490
        cr16)
 
491
                basic_machine=cr16-unknown
479
492
                os=-elf
480
493
                ;;
481
494
        crds | unos)
667
680
                basic_machine=m68k-isi
668
681
                os=-sysv
669
682
                ;;
 
683
        m68knommu)
 
684
                basic_machine=m68k-unknown
 
685
                os=-linux
 
686
                ;;
 
687
        m68knommu-*)
 
688
                basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
 
689
                os=-linux
 
690
                ;;
670
691
        m88k-omron*)
671
692
                basic_machine=m88k-omron
672
693
                ;;
682
703
                basic_machine=i386-pc
683
704
                os=-mingw32
684
705
                ;;
 
706
        mingw32ce)
 
707
                basic_machine=arm-unknown
 
708
                os=-mingw32ce
 
709
                ;;
685
710
        miniframe)
686
711
                basic_machine=m68000-convergent
687
712
                ;;
808
833
                basic_machine=i860-intel
809
834
                os=-osf
810
835
                ;;
 
836
        parisc)
 
837
                basic_machine=hppa-unknown
 
838
                os=-linux
 
839
                ;;
 
840
        parisc-*)
 
841
                basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
 
842
                os=-linux
 
843
                ;;
811
844
        pbd)
812
845
                basic_machine=sparc-tti
813
846
                ;;
909
942
        sb1el)
910
943
                basic_machine=mipsisa64sb1el-unknown
911
944
                ;;
 
945
        sde)
 
946
                basic_machine=mipsisa32-sde
 
947
                os=-elf
 
948
                ;;
912
949
        sei)
913
950
                basic_machine=mips-sei
914
951
                os=-seiux
920
957
                basic_machine=sh-hitachi
921
958
                os=-hms
922
959
                ;;
 
960
        sh5el)
 
961
                basic_machine=sh5le-unknown
 
962
                ;;
923
963
        sh64)
924
964
                basic_machine=sh64-unknown
925
965
                ;;
1009
1049
                basic_machine=tic6x-unknown
1010
1050
                os=-coff
1011
1051
                ;;
 
1052
        tile*)
 
1053
                basic_machine=tile-unknown
 
1054
                os=-linux-gnu
 
1055
                ;;
1012
1056
        tx39)
1013
1057
                basic_machine=mipstx39-unknown
1014
1058
                ;;
1214
1258
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1215
1259
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1216
1260
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1217
 
              | -skyos* | -haiku* | -rdos* | -toppers*)
 
1261
              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1218
1262
        # Remember, each alternative MUST END IN *, to match a version number.
1219
1263
                ;;
1220
1264
        -qnx*)
1366
1410
# system, and we'll never get to this point.
1367
1411
 
1368
1412
case $basic_machine in
 
1413
        score-*)
 
1414
                os=-elf
 
1415
                ;;
1369
1416
        spu-*)
1370
1417
                os=-elf
1371
1418
                ;;
1406
1453
        m68*-cisco)
1407
1454
                os=-aout
1408
1455
                ;;
 
1456
        mep-*)
 
1457
                os=-elf
 
1458
                ;;
1409
1459
        mips*-cisco)
1410
1460
                os=-elf
1411
1461
                ;;