~ubuntu-branches/ubuntu/natty/util-linux/natty

« back to all changes in this revision

Viewing changes to config/config.sub

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2009-10-21 14:22:31 UTC
  • Revision ID: james.westby@ubuntu.com-20091021142231-xwk5x6t7wylt6wv4
Tags: 2.16-1ubuntu5
Always return encrypted block devices as the first detected encryption
system (ie. LUKS, since that's the only one) rather than probing for
additional metadata and returning an ambivalent result.  LP: #428435.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5
5
#   Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2008-01-16'
 
7
timestamp='2009-04-17'
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
122
122
case $maybe_os in
123
123
  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124
124
  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
 
125
  kopensolaris*-gnu* | \
125
126
  storm-chaos* | os2-emx* | rtmk-nova*)
126
127
    os=-$maybe_os
127
128
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
249
250
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250
251
        | i370 | i860 | i960 | ia64 \
251
252
        | ip2k | iq2000 \
 
253
        | lm32 \
252
254
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
253
 
        | maxq | mb | microblaze | mcore | mep \
 
255
        | maxq | mb | microblaze | mcore | mep | metag \
254
256
        | mips | mipsbe | mipseb | mipsel | mipsle \
255
257
        | mips16 \
256
258
        | mips64 | mips64el \
 
259
        | mips64octeon | mips64octeonel \
 
260
        | mips64orion | mips64orionel \
 
261
        | mips64r5900 | mips64r5900el \
257
262
        | mips64vr | mips64vrel \
258
 
        | mips64orion | mips64orionel \
259
263
        | mips64vr4100 | mips64vr4100el \
260
264
        | mips64vr4300 | mips64vr4300el \
261
265
        | mips64vr5000 | mips64vr5000el \
268
272
        | mipsisa64sr71k | mipsisa64sr71kel \
269
273
        | mipstx39 | mipstx39el \
270
274
        | mn10200 | mn10300 \
 
275
        | moxie \
271
276
        | mt \
272
277
        | msp430 \
273
278
        | nios | nios2 \
277
282
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278
283
        | pyramid \
279
284
        | score \
280
 
        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 
285
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281
286
        | sh64 | sh64le \
282
287
        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283
288
        | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
286
291
        | v850 | v850e \
287
292
        | we32k \
288
293
        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289
 
        | z8k)
 
294
        | z8k | z80)
290
295
                basic_machine=$basic_machine-unknown
291
296
                ;;
292
297
        m6811 | m68hc11 | m6812 | m68hc12)
329
334
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330
335
        | i*86-* | i860-* | i960-* | ia64-* \
331
336
        | ip2k-* | iq2000-* \
 
337
        | lm32-* \
332
338
        | m32c-* | m32r-* | m32rle-* \
333
339
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334
 
        | m88110-* | m88k-* | maxq-* | mcore-* \
 
340
        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
335
341
        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336
342
        | mips16-* \
337
343
        | mips64-* | mips64el-* \
 
344
        | mips64octeon-* | mips64octeonel-* \
 
345
        | mips64orion-* | mips64orionel-* \
 
346
        | mips64r5900-* | mips64r5900el-* \
338
347
        | mips64vr-* | mips64vrel-* \
339
 
        | mips64orion-* | mips64orionel-* \
340
348
        | mips64vr4100-* | mips64vr4100el-* \
341
349
        | mips64vr4300-* | mips64vr4300el-* \
342
350
        | mips64vr5000-* | mips64vr5000el-* \
358
366
        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359
367
        | pyramid-* \
360
368
        | romp-* | rs6000-* \
361
 
        | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 
369
        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362
370
        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363
371
        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364
372
        | sparclite-* \
365
373
        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366
374
        | tahoe-* | thumb-* \
367
 
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 
375
        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
368
376
        | tron-* \
369
377
        | v850-* | v850e-* | vax-* \
370
378
        | we32k-* \
371
379
        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372
380
        | xstormy16-* | xtensa*-* \
373
381
        | ymp-* \
374
 
        | z8k-*)
 
382
        | z8k-* | z80-*)
375
383
                ;;
376
384
        # Recognize the basic CPU types without company name, with glob match.
377
385
        xtensa*)
439
447
                basic_machine=m68k-apollo
440
448
                os=-bsd
441
449
                ;;
 
450
        aros)
 
451
                basic_machine=i386-pc
 
452
                os=-aros
 
453
                ;;
442
454
        aux)
443
455
                basic_machine=m68k-apple
444
456
                os=-aux
459
471
                basic_machine=c90-cray
460
472
                os=-unicos
461
473
                ;;
 
474
        cegcc)
 
475
                basic_machine=arm-unknown
 
476
                os=-cegcc
 
477
                ;;
462
478
        convex-c1)
463
479
                basic_machine=c1-convex
464
480
                os=-bsd
526
542
                basic_machine=m88k-motorola
527
543
                os=-sysv3
528
544
                ;;
 
545
        dicos)
 
546
                basic_machine=i686-pc
 
547
                os=-dicos
 
548
                ;;
529
549
        djgpp)
530
550
                basic_machine=i586-pc
531
551
                os=-msdosdjgpp
1128
1148
                basic_machine=z8k-unknown
1129
1149
                os=-sim
1130
1150
                ;;
 
1151
        z80-*-coff)
 
1152
                basic_machine=z80-unknown
 
1153
                os=-sim
 
1154
                ;;
1131
1155
        none)
1132
1156
                basic_machine=none-none
1133
1157
                os=-none
1166
1190
        we32k)
1167
1191
                basic_machine=we32k-att
1168
1192
                ;;
1169
 
        sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 
1193
        sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1170
1194
                basic_machine=sh-unknown
1171
1195
                ;;
1172
1196
        sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1238
1262
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1239
1263
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1240
1264
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 
1265
              | -kopensolaris* \
1241
1266
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1242
 
              | -aos* \
 
1267
              | -aos* | -aros* \
1243
1268
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1244
1269
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1245
1270
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1248
1273
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1249
1274
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1250
1275
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1251
 
              | -chorusos* | -chorusrdb* \
 
1276
              | -chorusos* | -chorusrdb* | -cegcc* \
1252
1277
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1253
1278
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1254
1279
              | -uxpv* | -beos* | -mpeix* | -udk* \
1388
1413
        -zvmoe)
1389
1414
                os=-zvmoe
1390
1415
                ;;
 
1416
        -dicos*)
 
1417
                os=-dicos
 
1418
                ;;
1391
1419
        -none)
1392
1420
                ;;
1393
1421
        *)