119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project#! /bin/sh 219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Configuration validation subroutine script. 319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 43984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 53984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt# Free Software Foundation, Inc. 619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 73984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidttimestamp='2009-04-17' 819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# This file is (in principle) common to ALL GNU software. 1019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# The presence of a machine in this file suggests that SOME GNU software 1119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# can handle that machine. It does not imply ALL GNU software can. 1219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# 1319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# This file is free software; you can redistribute it and/or modify 1419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# it under the terms of the GNU General Public License as published by 1519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# the Free Software Foundation; either version 2 of the License, or 1619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# (at your option) any later version. 1719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# 1819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# This program is distributed in the hope that it will be useful, 1919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# but WITHOUT ANY WARRANTY; without even the implied warranty of 2019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# GNU General Public License for more details. 2219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# 2319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# You should have received a copy of the GNU General Public License 2419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# along with this program; if not, write to the Free Software 2519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 2619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# 02110-1301, USA. 2719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# 2819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# As a special exception to the GNU General Public License, if you 2919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# distribute this file as part of a program that contains a 3019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# configuration script generated by Autoconf, you may include it under 3119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# the same distribution terms that you use for the rest of that program. 3219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 3319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 3419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Please send patches to <config-patches@gnu.org>. Submit a context 3519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# diff and a properly formatted ChangeLog entry. 3619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# 3719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Configuration subroutine to validate and canonicalize a configuration type. 3819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Supply the specified configuration type as an argument. 3919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# If it is invalid, we print an error message on stderr and exit with code 1. 4019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Otherwise, we print the canonical config type on stdout and succeed. 4119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 4219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# This file is supposed to be the same for all GNU packages 4319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# and recognize all the CPU types, system types and aliases 4419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# that are meaningful with *any* GNU software. 4519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Each package is responsible for reporting which valid configurations 4619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# it does not support. The user should be able to distinguish 4719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# a failure to support a valid configuration from a meaningless 4819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# configuration. 4919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 5019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# The goal of this file is to map all the various variations of a given 5119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# machine specification into a single specification in the form: 5219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 5319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# or in some cases, the newer four-part form: 5419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 5519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# It is wrong to echo any other type of specification. 5619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 5719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectme=`echo "$0" | sed -e 's,.*/,,'` 5819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 5919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectusage="\ 6019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source ProjectUsage: $0 [OPTION] CPU-MFR-OPSYS 6119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project $0 [OPTION] ALIAS 6219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 6319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source ProjectCanonicalize a configuration name. 6419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 6519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source ProjectOperation modes: 6619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -h, --help print this help, then exit 6719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -t, --time-stamp print date of last modification, then exit 6819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -v, --version print version number, then exit 6919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 7019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source ProjectReport bugs and patches to <config-patches@gnu.org>." 7119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 7219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectversion="\ 7319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source ProjectGNU config.sub ($timestamp) 7419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 753984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry ShmidtCopyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 763984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 7819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source ProjectThis is free software; see the source for copying conditions. There is NO 7919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 8019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 8119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projecthelp=" 8219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source ProjectTry \`$me --help' for more information." 8319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 8419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Parse command line 8519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectwhile test $# -gt 0 ; do 8619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project case $1 in 8719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project --time-stamp | --time* | -t ) 8819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project echo "$timestamp" ; exit ;; 8919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project --version | -v ) 9019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project echo "$version" ; exit ;; 9119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project --help | --h* | -h ) 9219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project echo "$usage"; exit ;; 9319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -- ) # Stop option processing 9419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project shift; break ;; 9519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project - ) # Use stdin as input. 9619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project break ;; 9719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -* ) 9819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project echo "$me: invalid option $1$help" 9919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project exit 1 ;; 10019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 10119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *local*) 10219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # First pass through any local machine types. 10319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project echo $1 10419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project exit ;; 10519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 10619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project * ) 10719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project break ;; 10819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project esac 10919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectdone 11019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 11119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectcase $# in 11219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 0) echo "$me: missing argument$help" >&2 11319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project exit 1;; 11419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 1) ;; 11519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) echo "$me: too many arguments$help" >&2 11619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project exit 1;; 11719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectesac 11819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 11919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 12019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Here we must recognize all the valid KERNEL-OS combinations. 12119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectmaybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 12219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectcase $maybe_os in 12319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 12419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 1253984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt kopensolaris*-gnu* | \ 12619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project storm-chaos* | os2-emx* | rtmk-nova*) 12719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-$maybe_os 12819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 12919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 13019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) 13119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed 's/-[^-]*$//'` 13219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project if [ $basic_machine != $1 ] 13319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project then os=`echo $1 | sed 's/.*-/-/'` 13419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project else os=; fi 13519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 13619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectesac 13719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 13819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project### Let's recognize common machines as not being operating systems so 13919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project### that things like config.sub decstation-3100 work. We also 14019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project### recognize some manufacturers as not being operating systems, so we 14119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project### can provide default operating systems below. 14219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectcase $os in 14319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sun*os*) 14419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Prevent following clause from handling this invalid input. 14519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 14619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 14719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 14819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 14919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 15019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 15119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 15219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -apple | -axis | -knuth | -cray) 15319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os= 15419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=$1 15519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 15619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sim | -cisco | -oki | -wec | -winbond) 15719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os= 15819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=$1 15919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 16019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -scout) 16119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 16219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -wrs) 16319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-vxworks 16419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=$1 16519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 16619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -chorusos*) 16719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-chorusos 16819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=$1 16919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 17019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -chorusrdb) 17119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-chorusrdb 17219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=$1 17319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 17419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -hiux*) 17519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hiuxwe2 17619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 17719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sco6) 17819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sco5v6 17919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 18019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 18119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sco5) 18219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sco3.2v5 18319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 18419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 18519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sco4) 18619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sco3.2v4 18719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 18819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 18919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sco3.2.[4-9]*) 19019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 19119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 19219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 19319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sco3.2v[4-9]*) 19419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Don't forget version if it is 3.2v4 or newer. 19519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 19619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 19719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sco5v6*) 19819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Don't forget version if it is 3.2v4 or newer. 19919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 20019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 20119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sco*) 20219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sco3.2v2 20319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 20419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 20519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -udk*) 20619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 20719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 20819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -isc) 20919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-isc2.2 21019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 21119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 21219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -clix*) 21319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=clipper-intergraph 21419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 21519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -isc*) 21619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 21719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 21819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -lynx*) 21919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-lynxos 22019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 22119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -ptx*) 22219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` 22319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 22419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -windowsnt*) 22519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's/windowsnt/winnt/'` 22619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 22719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -psos*) 22819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-psos 22919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 23019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -mint | -mint[0-9]*) 23119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-atari 23219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mint 23319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 23419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectesac 23519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 23619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Decode aliases for certain CPU-COMPANY combinations. 23719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectcase $basic_machine in 23819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Recognize the basic CPU types without company name. 23919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Some are omitted here because they have special meanings below. 24019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 1750a | 580 \ 24119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | a29k \ 24219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 24319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 24419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | am33_2.0 \ 2453984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ 24619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | bfin \ 24719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | c4x | clipper \ 24819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | d10v | d30v | dlx | dsp16xx \ 2493984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | fido | fr30 | frv \ 25019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 25119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | i370 | i860 | i960 | ia64 \ 25219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | ip2k | iq2000 \ 2533984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | lm32 \ 2543984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | m32c | m32r | m32rle | m68000 | m68k | m88k \ 2553984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | maxq | mb | microblaze | mcore | mep | metag \ 25619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips | mipsbe | mipseb | mipsel | mipsle \ 25719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips16 \ 25819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64 | mips64el \ 2593984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | mips64octeon | mips64octeonel \ 26019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64orion | mips64orionel \ 2613984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | mips64r5900 | mips64r5900el \ 2623984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | mips64vr | mips64vrel \ 26319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64vr4100 | mips64vr4100el \ 26419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64vr4300 | mips64vr4300el \ 26519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64vr5000 | mips64vr5000el \ 26619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64vr5900 | mips64vr5900el \ 26719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa32 | mipsisa32el \ 26819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa32r2 | mipsisa32r2el \ 26919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa64 | mipsisa64el \ 27019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa64r2 | mipsisa64r2el \ 27119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa64sb1 | mipsisa64sb1el \ 27219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa64sr71k | mipsisa64sr71kel \ 27319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipstx39 | mipstx39el \ 27419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mn10200 | mn10300 \ 2753984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | moxie \ 27619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mt \ 27719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | msp430 \ 27819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | nios | nios2 \ 27919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | ns16k | ns32k \ 28019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | or32 \ 28119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | pdp10 | pdp11 | pj | pjl \ 28219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 28319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | pyramid \ 2843984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | score \ 2853984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 28619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | sh64 | sh64le \ 2873984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 2883984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 2893984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | spu | strongarm \ 29019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | tahoe | thumb | tic4x | tic80 | tron \ 29119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | v850 | v850e \ 29219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | we32k \ 2933984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 2943984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | z8k | z80) 29519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=$basic_machine-unknown 29619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 29719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project m6811 | m68hc11 | m6812 | m68hc12) 29819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Motorola 68HC11/12. 29919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=$basic_machine-unknown 30019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-none 30119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 30219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 30319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 30419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ms1) 30519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mt-unknown 30619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 30719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 30819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # We use `pc' rather than `unknown' 30919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # because (1) that's what they normally are, and 31019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # (2) the word "unknown" tends to confuse beginning users. 31119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i*86 | x86_64) 31219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=$basic_machine-pc 31319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 31419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Object if more than one company name word. 31519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-*-*) 31619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 31719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project exit 1 31819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 31919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Recognize the basic CPU types with company name. 32019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 580-* \ 32119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | a29k-* \ 32219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 32319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 32419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 32519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 3263984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | avr-* | avr32-* \ 32719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | bfin-* | bs2000-* \ 32819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 32919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | clipper-* | craynv-* | cydra-* \ 33019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | d10v-* | d30v-* | dlx-* \ 33119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | elxsi-* \ 3323984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 33319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | h8300-* | h8500-* \ 33419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 33519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | i*86-* | i860-* | i960-* | ia64-* \ 33619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | ip2k-* | iq2000-* \ 3373984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | lm32-* \ 3383984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | m32c-* | m32r-* | m32rle-* \ 33919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 3403984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 34119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 34219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips16-* \ 34319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64-* | mips64el-* \ 3443984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | mips64octeon-* | mips64octeonel-* \ 34519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64orion-* | mips64orionel-* \ 3463984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | mips64r5900-* | mips64r5900el-* \ 3473984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | mips64vr-* | mips64vrel-* \ 34819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64vr4100-* | mips64vr4100el-* \ 34919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64vr4300-* | mips64vr4300el-* \ 35019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64vr5000-* | mips64vr5000el-* \ 35119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mips64vr5900-* | mips64vr5900el-* \ 35219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa32-* | mipsisa32el-* \ 35319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa32r2-* | mipsisa32r2el-* \ 35419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa64-* | mipsisa64el-* \ 35519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa64r2-* | mipsisa64r2el-* \ 35619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa64sb1-* | mipsisa64sb1el-* \ 35719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 35819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mipstx39-* | mipstx39el-* \ 35919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mmix-* \ 36019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | mt-* \ 36119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | msp430-* \ 36219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | nios-* | nios2-* \ 36319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | none-* | np1-* | ns16k-* | ns32k-* \ 36419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | orion-* \ 36519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 36619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 36719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | pyramid-* \ 36819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | romp-* | rs6000-* \ 3693984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 37019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 3713984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 37219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | sparclite-* \ 3733984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 37419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | tahoe-* | thumb-* \ 3753984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 37619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | tron-* \ 37719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | v850-* | v850e-* | vax-* \ 37819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | we32k-* \ 3793984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 3803984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | xstormy16-* | xtensa*-* \ 38119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | ymp-* \ 3823984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | z8k-* | z80-*) 38319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 3843984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt # Recognize the basic CPU types without company name, with glob match. 3853984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt xtensa*) 3863984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=$basic_machine-unknown 38719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 38819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Recognize the various machine names and aliases which stand 38919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # for a CPU type and a company and sometimes even an OS. 39019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 386bsd) 39119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-unknown 39219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 39319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 39419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) 39519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68000-att 39619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 39719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 3b*) 39819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=we32k-att 39919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 40019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project a29khif) 40119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=a29k-amd 40219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-udi 40319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 40419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project abacus) 40519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=abacus-unknown 40619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 40719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project adobe68k) 40819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68010-adobe 40919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-scout 41019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 41119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project alliant | fx80) 41219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=fx80-alliant 41319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 41419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project altos | altos3068) 41519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-altos 41619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 41719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project am29k) 41819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=a29k-none 41919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 42019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 42119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project amd64) 42219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=x86_64-pc 42319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 42419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project amd64-*) 42519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` 42619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 42719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project amdahl) 42819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=580-amdahl 42919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 43019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 43119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project amiga | amiga-*) 43219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-unknown 43319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 43419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project amigaos | amigados) 43519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-unknown 43619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-amigaos 43719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 43819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project amigaunix | amix) 43919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-unknown 44019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 44119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 44219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project apollo68) 44319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-apollo 44419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 44519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 44619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project apollo68bsd) 44719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-apollo 44819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 44919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 4503984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt aros) 4513984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=i386-pc 4523984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-aros 4533984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 45419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project aux) 45519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-apple 45619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-aux 45719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 45819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project balance) 45919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=ns32k-sequent 46019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-dynix 46119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 4623984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt blackfin) 4633984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=bfin-unknown 4643984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-linux 4653984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 4663984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt blackfin-*) 4673984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` 4683984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-linux 4693984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 47019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project c90) 47119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=c90-cray 47219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-unicos 47319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 4743984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt cegcc) 4753984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=arm-unknown 4763984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-cegcc 4773984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 47819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project convex-c1) 47919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=c1-convex 48019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 48119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 48219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project convex-c2) 48319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=c2-convex 48419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 48519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 48619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project convex-c32) 48719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=c32-convex 48819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 48919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 49019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project convex-c34) 49119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=c34-convex 49219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 49319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 49419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project convex-c38) 49519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=c38-convex 49619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 49719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 49819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project cray | j90) 49919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=j90-cray 50019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-unicos 50119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 50219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project craynv) 50319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=craynv-cray 50419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-unicosmp 50519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 5063984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt cr16) 5073984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=cr16-unknown 50819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-elf 50919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 51019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project crds | unos) 51119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-crds 51219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 51319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project crisv32 | crisv32-* | etraxfs*) 51419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=crisv32-axis 51519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 51619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project cris | cris-* | etrax*) 51719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=cris-axis 51819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 51919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project crx) 52019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=crx-unknown 52119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-elf 52219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 52319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project da30 | da30-*) 52419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-da30 52519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 52619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) 52719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mips-dec 52819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 52919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project decsystem10* | dec10*) 53019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=pdp10-dec 53119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-tops10 53219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 53319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project decsystem20* | dec20*) 53419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=pdp10-dec 53519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-tops20 53619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 53719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project delta | 3300 | motorola-3300 | motorola-delta \ 53819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | 3300-motorola | delta-motorola) 53919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-motorola 54019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 54119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project delta88) 54219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m88k-motorola 54319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv3 54419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 5453984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt dicos) 5463984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=i686-pc 5473984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-dicos 5483984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 54919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project djgpp) 55019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i586-pc 55119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-msdosdjgpp 55219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 55319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project dpx20 | dpx20-*) 55419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=rs6000-bull 55519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bosx 55619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 55719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project dpx2* | dpx2*-bull) 55819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-bull 55919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv3 56019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 56119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ebmon29k) 56219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=a29k-amd 56319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-ebmon 56419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 56519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project elxsi) 56619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=elxsi-elxsi 56719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 56819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 56919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project encore | umax | mmax) 57019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=ns32k-encore 57119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 57219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project es1800 | OSE68k | ose68k | ose | OSE) 57319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-ericsson 57419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-ose 57519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 57619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project fx2800) 57719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i860-alliant 57819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 57919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project genix) 58019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=ns32k-ns 58119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 58219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project gmicro) 58319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=tron-gmicro 58419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 58519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 58619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project go32) 58719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-pc 58819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-go32 58919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 59019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project h3050r* | hiux*) 59119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-hitachi 59219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hiuxwe2 59319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 59419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project h8300hms) 59519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=h8300-hitachi 59619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hms 59719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 59819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project h8300xray) 59919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=h8300-hitachi 60019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-xray 60119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 60219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project h8500hms) 60319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=h8500-hitachi 60419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hms 60519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 60619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project harris) 60719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m88k-harris 60819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv3 60919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 61019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp300-*) 61119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-hp 61219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 61319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp300bsd) 61419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-hp 61519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 61619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 61719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp300hpux) 61819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-hp 61919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hpux 62019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 62119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp3k9[0-9][0-9] | hp9[0-9][0-9]) 62219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.0-hp 62319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 62419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp9k2[0-9][0-9] | hp9k31[0-9]) 62519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68000-hp 62619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 62719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp9k3[2-9][0-9]) 62819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-hp 62919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 63019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp9k6[0-9][0-9] | hp6[0-9][0-9]) 63119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.0-hp 63219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 63319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp9k7[0-79][0-9] | hp7[0-79][0-9]) 63419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-hp 63519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 63619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp9k78[0-9] | hp78[0-9]) 63719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # FIXME: really hppa2.0-hp 63819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-hp 63919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 64019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) 64119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # FIXME: really hppa2.0-hp 64219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-hp 64319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 64419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp9k8[0-9][13679] | hp8[0-9][13679]) 64519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-hp 64619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 64719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hp9k8[0-9][0-9] | hp8[0-9][0-9]) 64819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.0-hp 64919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 65019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hppa-next) 65119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nextstep3 65219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 65319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hppaosf) 65419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-hp 65519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-osf 65619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 65719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project hppro) 65819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-hp 65919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-proelf 66019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 66119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i370-ibm* | ibm*) 66219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i370-ibm 66319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 66419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# I'm not sure what "Sysv32" means. Should this be sysv3.2? 66519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i*86v32) 66619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 66719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv32 66819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 66919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i*86v4*) 67019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 67119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 67219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 67319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i*86v) 67419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 67519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 67619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 67719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i*86sol2) 67819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 67919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-solaris2 68019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 68119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i386mach) 68219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-mach 68319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mach 68419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 68519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i386-vsta | vsta) 68619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-unknown 68719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-vsta 68819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 68919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project iris | iris4d) 69019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mips-sgi 69119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project case $os in 69219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -irix*) 69319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 69419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) 69519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-irix4 69619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 69719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project esac 69819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 69919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project isi68 | isi) 70019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-isi 70119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 70219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 7033984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt m68knommu) 7043984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=m68k-unknown 7053984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-linux 7063984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 7073984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt m68knommu-*) 7083984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` 7093984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-linux 7103984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 71119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project m88k-omron*) 71219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m88k-omron 71319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 71419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project magnum | m3230) 71519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mips-mips 71619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 71719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 71819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project merlin) 71919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=ns32k-utek 72019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 72119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 72219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mingw32) 72319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-pc 72419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mingw32 72519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 7263984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt mingw32ce) 7273984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=arm-unknown 7283984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-mingw32ce 7293984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 73019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project miniframe) 73119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68000-convergent 73219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 73319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) 73419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-atari 73519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mint 73619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 73719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mips3*-*) 73819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` 73919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 74019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mips3*) 74119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 74219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 74319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project monitor) 74419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-rom68k 74519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-coff 74619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 74719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project morphos) 74819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=powerpc-unknown 74919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-morphos 75019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 75119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project msdos) 75219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-pc 75319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-msdos 75419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 75519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ms1-*) 75619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 75719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 75819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mvs) 75919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i370-ibm 76019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mvs 76119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 76219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ncr3000) 76319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i486-ncr 76419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 76519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 76619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project netbsd386) 76719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-unknown 76819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-netbsd 76919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 77019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project netwinder) 77119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=armv4l-rebel 77219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-linux 77319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 77419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project news | news700 | news800 | news900) 77519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-sony 77619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-newsos 77719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 77819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project news1000) 77919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68030-sony 78019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-newsos 78119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 78219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project news-3600 | risc-news) 78319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mips-sony 78419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-newsos 78519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 78619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project necv70) 78719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=v70-nec 78819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 78919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 79019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project next | m*-next ) 79119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-next 79219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project case $os in 79319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -nextstep* ) 79419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 79519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -ns2*) 79619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nextstep2 79719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 79819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) 79919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nextstep3 80019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 80119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project esac 80219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 80319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project nh3000) 80419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-harris 80519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-cxux 80619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 80719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project nh[45]000) 80819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m88k-harris 80919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-cxux 81019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 81119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project nindy960) 81219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i960-intel 81319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nindy 81419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 81519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mon960) 81619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i960-intel 81719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mon960 81819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 81919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project nonstopux) 82019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mips-compaq 82119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nonstopux 82219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 82319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project np1) 82419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=np1-gould 82519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 82619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project nsr-tandem) 82719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=nsr-tandem 82819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 82919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project op50n-* | op60c-*) 83019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-oki 83119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-proelf 83219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 83319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project openrisc | openrisc-*) 83419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=or32-unknown 83519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 83619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os400) 83719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=powerpc-ibm 83819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-os400 83919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 84019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project OSE68000 | ose68000) 84119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68000-ericsson 84219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-ose 84319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 84419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os68k) 84519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-none 84619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-os68k 84719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 84819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pa-hitachi) 84919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-hitachi 85019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hiuxwe2 85119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 85219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project paragon) 85319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i860-intel 85419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-osf 85519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 8563984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt parisc) 8573984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=hppa-unknown 8583984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-linux 8593984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 8603984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt parisc-*) 8613984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` 8623984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-linux 8633984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 86419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pbd) 86519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sparc-tti 86619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 86719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pbb) 86819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-tti 86919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 87019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pc532 | pc532-*) 87119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=ns32k-pc532 87219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 87319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pc98) 87419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-pc 87519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 87619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pc98-*) 87719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` 87819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 87919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pentium | p5 | k5 | k6 | nexgen | viac3) 88019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i586-pc 88119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 88219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pentiumpro | p6 | 6x86 | athlon | athlon_*) 88319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i686-pc 88419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 88519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pentiumii | pentium2 | pentiumiii | pentium3) 88619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i686-pc 88719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 88819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pentium4) 88919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i786-pc 89019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 89119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) 89219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 89319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 89419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pentiumpro-* | p6-* | 6x86-* | athlon-*) 89519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 89619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 89719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) 89819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 89919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 90019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pentium4-*) 90119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` 90219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 90319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pn) 90419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=pn-gould 90519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 90619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project power) basic_machine=power-ibm 90719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 90819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ppc) basic_machine=powerpc-unknown 90919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 91019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 91119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 91219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ppcle | powerpclittle | ppc-le | powerpc-little) 91319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=powerpcle-unknown 91419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 91519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ppcle-* | powerpclittle-*) 91619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 91719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 91819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ppc64) basic_machine=powerpc64-unknown 91919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 92019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` 92119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 92219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ppc64le | powerpc64little | ppc64-le | powerpc64-little) 92319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=powerpc64le-unknown 92419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 92519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ppc64le-* | powerpc64little-*) 92619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` 92719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 92819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ps2) 92919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-ibm 93019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 93119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pw32) 93219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i586-unknown 93319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-pw32 93419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 93519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project rdos) 93619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-pc 93719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-rdos 93819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 93919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project rom68k) 94019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-rom68k 94119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-coff 94219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 94319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project rm[46]00) 94419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mips-siemens 94519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 94619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project rtpc | rtpc-*) 94719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=romp-ibm 94819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 94919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project s390 | s390-*) 95019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=s390-ibm 95119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 95219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project s390x | s390x-*) 95319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=s390x-ibm 95419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 95519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sa29200) 95619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=a29k-amd 95719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-udi 95819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 95919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sb1) 96019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mipsisa64sb1-unknown 96119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 96219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sb1el) 96319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mipsisa64sb1el-unknown 96419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 9653984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt sde) 9663984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=mipsisa32-sde 9673984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-elf 9683984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 96919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sei) 97019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mips-sei 97119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-seiux 97219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 97319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sequent) 97419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-sequent 97519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 97619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sh) 97719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sh-hitachi 97819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hms 97919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 9803984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt sh5el) 9813984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=sh5le-unknown 9823984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 98319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sh64) 98419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sh64-unknown 98519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 98619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sparclite-wrs | simso-wrs) 98719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sparclite-wrs 98819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-vxworks 98919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 99019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sps7) 99119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-bull 99219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv2 99319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 99419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project spur) 99519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=spur-unknown 99619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 99719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project st2000) 99819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-tandem 99919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 100019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project stratus) 100119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i860-stratus 100219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 100319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 100419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun2) 100519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68000-sun 100619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 100719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun2os3) 100819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68000-sun 100919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos3 101019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 101119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun2os4) 101219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68000-sun 101319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos4 101419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 101519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun3os3) 101619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-sun 101719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos3 101819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 101919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun3os4) 102019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-sun 102119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos4 102219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 102319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun4os3) 102419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sparc-sun 102519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos3 102619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 102719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun4os4) 102819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sparc-sun 102919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos4 103019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 103119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun4sol2) 103219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sparc-sun 103319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-solaris2 103419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 103519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun3 | sun3-*) 103619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-sun 103719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 103819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun4) 103919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sparc-sun 104019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 104119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sun386 | sun386i | roadrunner) 104219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-sun 104319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 104419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sv1) 104519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sv1-cray 104619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-unicos 104719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 104819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project symmetry) 104919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i386-sequent 105019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-dynix 105119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 105219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project t3e) 105319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=alphaev5-cray 105419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-unicos 105519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 105619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project t90) 105719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=t90-cray 105819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-unicos 105919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 106019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project tic54x | c54x*) 106119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=tic54x-unknown 106219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-coff 106319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 106419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project tic55x | c55x*) 106519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=tic55x-unknown 106619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-coff 106719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 106819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project tic6x | c6x*) 106919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=tic6x-unknown 107019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-coff 107119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 10723984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt tile*) 10733984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=tile-unknown 10743984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-linux-gnu 10753984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 107619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project tx39) 107719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mipstx39-unknown 107819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 107919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project tx39el) 108019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mipstx39el-unknown 108119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 108219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project toad1) 108319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=pdp10-xkl 108419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-tops20 108519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 108619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project tower | tower-32) 108719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-ncr 108819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 108919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project tpf) 109019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=s390x-ibm 109119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-tpf 109219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 109319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project udi29k) 109419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=a29k-amd 109519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-udi 109619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 109719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ultra3) 109819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=a29k-nyu 109919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sym1 110019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 110119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project v810 | necv810) 110219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=v810-nec 110319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-none 110419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 110519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vaxv) 110619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=vax-dec 110719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 110819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 110919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vms) 111019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=vax-dec 111119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-vms 111219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 111319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vpp*|vx|vx-*) 111419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=f301-fujitsu 111519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 111619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vxworks960) 111719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i960-wrs 111819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-vxworks 111919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 112019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vxworks68) 112119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-wrs 112219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-vxworks 112319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 112419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vxworks29k) 112519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=a29k-wrs 112619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-vxworks 112719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 112819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project w65*) 112919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=w65-wdc 113019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-none 113119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 113219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project w89k-*) 113319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-winbond 113419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-proelf 113519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 113619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project xbox) 113719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=i686-pc 113819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mingw32 113919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 114019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project xps | xps100) 114119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=xps100-honeywell 114219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 114319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ymp) 114419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=ymp-cray 114519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-unicos 114619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 114719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project z8k-*-coff) 114819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=z8k-unknown 114919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sim 115019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 11513984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt z80-*-coff) 11523984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt basic_machine=z80-unknown 11533984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-sim 11543984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 115519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project none) 115619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=none-none 115719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-none 115819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 115919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 116019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Here we handle the default manufacturer of certain CPU types. It is in 116119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# some cases the only manufacturer, in others, it is the most popular. 116219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project w89k) 116319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-winbond 116419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 116519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project op50n) 116619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-oki 116719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 116819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project op60c) 116919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=hppa1.1-oki 117019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 117119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project romp) 117219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=romp-ibm 117319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 117419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mmix) 117519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=mmix-knuth 117619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 117719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project rs6000) 117819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=rs6000-ibm 117919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 118019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vax) 118119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=vax-dec 118219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 118319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pdp10) 118419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # there are many clones, so DEC is not a safe bet 118519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=pdp10-unknown 118619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 118719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pdp11) 118819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=pdp11-dec 118919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 119019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project we32k) 119119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=we32k-att 119219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 11933984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) 119419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sh-unknown 119519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 11963984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) 119719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=sparc-sun 119819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 119919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project cydra) 120019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=cydra-cydrome 120119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 120219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project orion) 120319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=orion-highlevel 120419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 120519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project orion105) 120619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=clipper-highlevel 120719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 120819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mac | mpw | mac-mpw) 120919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=m68k-apple 121019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 121119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pmac | pmac-mpw) 121219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=powerpc-apple 121319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 121419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-unknown) 121519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Make sure to match an already-canonicalized machine name. 121619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 121719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) 121819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 121919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project exit 1 122019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 122119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectesac 122219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 122319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Here we canonicalize certain aliases for manufacturers. 122419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectcase $basic_machine in 122519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-digital*) 122619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` 122719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 122819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-commodore*) 122919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` 123019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 123119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) 123219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 123319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectesac 123419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 123519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Decode manufacturer-specific aliases for certain operating systems. 123619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 123719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectif [ x"$os" != x"" ] 123819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectthen 123919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectcase $os in 124019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # First match some system type aliases 124119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # that might get confused with valid system types. 124219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # -solaris* is a basic system type, with this one exception. 124319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -solaris1 | -solaris1.*) 124419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's|solaris1|sunos4|'` 124519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 124619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -solaris) 124719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-solaris2 124819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 124919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -svr4*) 125019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 125119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 125219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -unixware*) 125319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4.2uw 125419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 125519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -gnu/linux*) 125619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` 125719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 125819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # First accept the basic system types. 125919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # The portable systems comes first. 126019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Each alternative MUST END IN A *, to match a version number. 126119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # -sysv* is not here because it comes later, after sysvr4. 126219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 126319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ 126419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 12653984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | -kopensolaris* \ 126619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 12673984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | -aos* | -aros* \ 126819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 126919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 127019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 127119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -openbsd* | -solidbsd* \ 127219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 127319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 127419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 127519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 12763984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | -chorusos* | -chorusrdb* | -cegcc* \ 127719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 127819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 127919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -uxpv* | -beos* | -mpeix* | -udk* \ 128019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 128119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 128219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 128319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 128419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 128519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 12863984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 128719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Remember, each alternative MUST END IN *, to match a version number. 128819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 128919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -qnx*) 129019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project case $basic_machine in 129119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project x86-* | i*86-*) 129219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 129319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) 129419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nto$os 129519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 129619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project esac 129719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 129819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -nto-qnx*) 129919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 130019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -nto*) 130119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's|nto|nto-qnx|'` 130219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 130319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 130419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ 130519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) 130619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 130719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -mac*) 130819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's|mac|macos|'` 130919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 131019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -linux-dietlibc) 131119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-linux-dietlibc 131219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 131319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -linux*) 131419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's|linux|linux-gnu|'` 131519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 131619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sunos5*) 131719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's|sunos5|solaris2|'` 131819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 131919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sunos6*) 132019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's|sunos6|solaris3|'` 132119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 132219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -opened*) 132319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-openedition 132419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 132519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -os400*) 132619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-os400 132719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 132819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -wince*) 132919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-wince 133019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 133119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -osfrose*) 133219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-osfrose 133319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 133419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -osf*) 133519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-osf 133619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 133719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -utek*) 133819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 133919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 134019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -dynix*) 134119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 134219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 134319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -acis*) 134419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-aos 134519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 134619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -atheos*) 134719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-atheos 134819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 134919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -syllable*) 135019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-syllable 135119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 135219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -386bsd) 135319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 135419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 135519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -ctix* | -uts*) 135619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 135719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 135819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -nova*) 135919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-rtmk-nova 136019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 136119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -ns2 ) 136219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nextstep2 136319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 136419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -nsk*) 136519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nsk 136619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 136719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Preserve the version number of sinix5. 136819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sinix5.*) 136919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed -e 's|sinix|sysv|'` 137019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 137119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sinix*) 137219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 137319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 137419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -tpf*) 137519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-tpf 137619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 137719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -triton*) 137819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv3 137919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 138019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -oss*) 138119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv3 138219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 138319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -svr4) 138419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 138519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 138619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -svr3) 138719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv3 138819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 138919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sysvr4) 139019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 139119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 139219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # This must come after -sysvr4. 139319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sysv*) 139419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 139519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -ose*) 139619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-ose 139719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 139819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -es1800*) 139919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-ose 140019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 140119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -xenix) 140219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-xenix 140319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 140419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 140519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mint 140619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 140719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -aros*) 140819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-aros 140919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 141019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -kaos*) 141119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-kaos 141219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 141319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -zvmoe) 141419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-zvmoe 141519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 14163984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt -dicos*) 14173984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-dicos 14183984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 141919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -none) 142019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 142119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) 142219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # Get rid of the `-' at the beginning of $os. 142319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=`echo $os | sed 's/[^-]*-//'` 142419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 142519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project exit 1 142619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 142719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectesac 142819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectelse 142919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 143019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Here we handle the default operating systems that come with various machines. 143119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# The value should be what the vendor currently ships out the door with their 143219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# machine or put another way, the most popular os provided with the machine. 143319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 143419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Note that if you're going to try to match "-MANUFACTURER" here (say, 143519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# "-sun"), then you have to tell the case statement up towards the top 143619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# that MANUFACTURER isn't an operating system. Otherwise, code above 143719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# will signal an error saying that MANUFACTURER isn't an operating 143819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# system, and we'll never get to this point. 143919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 144019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectcase $basic_machine in 14413984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt score-*) 14423984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-elf 14433984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 14443984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt spu-*) 14453984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-elf 14463984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 144719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-acorn) 144819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-riscix1.2 144919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 145019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project arm*-rebel) 145119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-linux 145219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 145319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project arm*-semi) 145419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-aout 145519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 14563984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt c4x-* | tic4x-*) 14573984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-coff 14583984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 145919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # This must come before the *-dec entry. 146019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pdp10-*) 146119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-tops20 146219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 146319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project pdp11-*) 146419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-none 146519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 146619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-dec | vax-*) 146719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-ultrix4.2 146819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 146919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project m68*-apollo) 147019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-domain 147119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 147219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i386-sun) 147319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos4.0.2 147419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 147519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project m68000-sun) 147619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos3 147719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # This also exists in the configure program, but was not the 147819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # default. 147919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project # os=-sunos4 148019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 148119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project m68*-cisco) 148219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-aout 148319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 14843984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt mep-*) 14853984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt os=-elf 14863984b61df41c68966bdfbb2a5e5a45ef4b9a536cDmitry Shmidt ;; 148719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mips*-cisco) 148819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-elf 148919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 149019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project mips*-*) 149119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-elf 149219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 149319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project or32-*) 149419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-coff 149519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 149619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-tti) # must be before sparc entry or we get the wrong os. 149719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv3 149819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 149919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project sparc-* | *-sun) 150019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sunos4.1.1 150119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 150219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-be) 150319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-beos 150419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 150519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-haiku) 150619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-haiku 150719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 150819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-ibm) 150919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-aix 151019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 151119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-knuth) 151219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mmixware 151319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 151419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-wec) 151519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-proelf 151619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 151719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-winbond) 151819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-proelf 151919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 152019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-oki) 152119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-proelf 152219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 152319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-hp) 152419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hpux 152519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 152619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-hitachi) 152719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-hiux 152819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 152919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) 153019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 153119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 153219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-cbm) 153319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-amigaos 153419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 153519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-dg) 153619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-dgux 153719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 153819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-dolphin) 153919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv3 154019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 154119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project m68k-ccur) 154219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-rtu 154319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 154419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project m88k-omron*) 154519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-luna 154619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 154719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-next ) 154819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nextstep 154919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 155019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-sequent) 155119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-ptx 155219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 155319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-crds) 155419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-unos 155519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 155619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-ns) 155719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-genix 155819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 155919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project i370-*) 156019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mvs 156119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 156219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-next) 156319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-nextstep3 156419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 156519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-gould) 156619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv 156719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 156819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-highlevel) 156919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 157019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 157119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-encore) 157219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-bsd 157319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 157419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-sgi) 157519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-irix 157619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 157719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-siemens) 157819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-sysv4 157919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 158019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-masscomp) 158119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-rtu 158219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 158319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project f30[01]-fujitsu | f700-fujitsu) 158419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-uxpv 158519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 158619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-rom68k) 158719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-coff 158819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 158919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-*bug) 159019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-coff 159119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 159219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-apple) 159319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-macos 159419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 159519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-atari*) 159619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-mint 159719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 159819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *) 159919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project os=-none 160019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 160119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectesac 160219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectfi 160319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 160419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Here we handle the case where we know the os, and the CPU type, but not the 160519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# manufacturer. We pick the logical manufacturer. 160619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectvendor=unknown 160719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectcase $basic_machine in 160819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project *-unknown) 160919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project case $os in 161019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -riscix*) 161119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=acorn 161219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 161319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -sunos*) 161419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=sun 161519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 161619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -aix*) 161719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=ibm 161819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 161919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -beos*) 162019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=be 162119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 162219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -hpux*) 162319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=hp 162419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 162519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -mpeix*) 162619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=hp 162719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 162819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -hiux*) 162919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=hitachi 163019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 163119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -unos*) 163219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=crds 163319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 163419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -dgux*) 163519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=dg 163619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 163719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -luna*) 163819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=omron 163919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 164019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -genix*) 164119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=ns 164219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 164319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -mvs* | -opened*) 164419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=ibm 164519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 164619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -os400*) 164719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=ibm 164819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 164919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -ptx*) 165019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=sequent 165119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 165219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -tpf*) 165319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=ibm 165419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 165519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -vxsim* | -vxworks* | -windiss*) 165619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=wrs 165719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 165819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -aux*) 165919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=apple 166019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 166119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -hms*) 166219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=hitachi 166319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 166419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -mpw* | -macos*) 166519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=apple 166619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 166719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 166819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=atari 166919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 167019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project -vos*) 167119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project vendor=stratus 167219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 167319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project esac 167419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` 167519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project ;; 167619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectesac 167719dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 167819dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectecho $basic_machine$os 167919dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Projectexit 168019dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project 168119dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# Local variables: 168219dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# eval: (add-hook 'write-file-hooks 'time-stamp) 168319dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# time-stamp-start: "timestamp='" 168419dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# time-stamp-format: "%:y-%02m-%02d" 168519dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# time-stamp-end: "'" 168619dacda2b02bb08c0ffb649f84526b249c749279The Android Open Source Project# End: 1687