~phil.huang/cheese/bug876834

« back to all changes in this revision

Viewing changes to build-aux/config.sub

  • Committer: Package Import Robot
  • Author(s): Robert Bruce Park
  • Date: 2012-08-09 00:19:29 UTC
  • mfrom: (1.2.39)
  • Revision ID: package-import@ubuntu.com-20120809001929-ldmdbmr27u9ldd3d
Tags: 3.5.5-0ubuntu1
New upstream release (lp: #1034615)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5
5
#   2011, 2012 Free Software Foundation, Inc.
6
6
 
7
 
timestamp='2012-01-01'
 
7
timestamp='2012-02-10'
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
21
21
# GNU General Public License for more details.
22
22
#
23
23
# You should have received a copy of the GNU General Public License
24
 
# along with this program; if not, write to the Free Software
25
 
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26
 
# 02110-1301, USA.
 
24
# along with this program; if not, see <http://www.gnu.org/licenses/>.
27
25
#
28
26
# As a special exception to the GNU General Public License, if you
29
27
# distribute this file as part of a program that contains a
132
130
    os=-$maybe_os
133
131
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
134
132
    ;;
 
133
  android-linux)
 
134
    os=-linux-android
 
135
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
 
136
    ;;
135
137
  *)
136
138
    basic_machine=`echo $1 | sed 's/-[^-]*$//'`
137
139
    if [ $basic_machine != $1 ]
247
249
        # Some are omitted here because they have special meanings below.
248
250
        1750a | 580 \
249
251
        | a29k \
 
252
        | aarch64 | aarch64_be \
250
253
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
251
254
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
252
255
        | am33_2.0 \
254
257
        | be32 | be64 \
255
258
        | bfin \
256
259
        | c4x | clipper \
257
 
        | d10v | d30v | dlx | dsp16xx \
 
260
        | d10v | d30v | dlx | dsp16xx | dvp \
258
261
        | epiphany \
259
262
        | fido | fr30 | frv \
260
263
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
319
322
        c6x)
320
323
                basic_machine=tic6x-unknown
321
324
                ;;
322
 
        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
 
325
        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
323
326
                basic_machine=$basic_machine-unknown
324
327
                os=-none
325
328
                ;;
332
335
        strongarm | thumb | xscale)
333
336
                basic_machine=arm-unknown
334
337
                ;;
335
 
 
 
338
        xgate)
 
339
                basic_machine=$basic_machine-unknown
 
340
                os=-none
 
341
                ;;
336
342
        xscaleeb)
337
343
                basic_machine=armeb-unknown
338
344
                ;;
355
361
        # Recognize the basic CPU types with company name.
356
362
        580-* \
357
363
        | a29k-* \
 
364
        | aarch64-* | aarch64_be-* \
358
365
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
359
366
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
360
367
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
793
800
                basic_machine=m68k-atari
794
801
                os=-mint
795
802
                ;;
 
803
        mipsEE* | ee | ps2)
 
804
                basic_machine=mips64r5900el-scei
 
805
                case $os in
 
806
                    -linux*)
 
807
                        ;;
 
808
                    *)
 
809
                        os=-elf
 
810
                        ;;
 
811
                esac
 
812
                ;;
 
813
        iop)
 
814
                basic_machine=mipsel-scei
 
815
                os=-irx
 
816
                ;;
 
817
        dvp)
 
818
                basic_machine=dvp-scei
 
819
                os=-elf
 
820
                ;;
796
821
        mips3*-*)
797
822
                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
798
823
                ;;
1351
1376
              | -uxpv* | -beos* | -mpeix* | -udk* \
1352
1377
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1353
1378
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1354
 
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 
1379
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -irx* \
1355
1380
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1356
1381
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1357
1382
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \