1*2e9d4914SAndroid Build Coastguard Worker#! /bin/sh 2*2e9d4914SAndroid Build Coastguard Worker# Configuration validation subroutine script. 3*2e9d4914SAndroid Build Coastguard Worker# Copyright 1992-2013 Free Software Foundation, Inc. 4*2e9d4914SAndroid Build Coastguard Worker 5*2e9d4914SAndroid Build Coastguard Workertimestamp='2013-10-01' 6*2e9d4914SAndroid Build Coastguard Worker 7*2e9d4914SAndroid Build Coastguard Worker# This file is free software; you can redistribute it and/or modify it 8*2e9d4914SAndroid Build Coastguard Worker# under the terms of the GNU General Public License as published by 9*2e9d4914SAndroid Build Coastguard Worker# the Free Software Foundation; either version 3 of the License, or 10*2e9d4914SAndroid Build Coastguard Worker# (at your option) any later version. 11*2e9d4914SAndroid Build Coastguard Worker# 12*2e9d4914SAndroid Build Coastguard Worker# This program is distributed in the hope that it will be useful, but 13*2e9d4914SAndroid Build Coastguard Worker# WITHOUT ANY WARRANTY; without even the implied warranty of 14*2e9d4914SAndroid Build Coastguard Worker# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15*2e9d4914SAndroid Build Coastguard Worker# General Public License for more details. 16*2e9d4914SAndroid Build Coastguard Worker# 17*2e9d4914SAndroid Build Coastguard Worker# You should have received a copy of the GNU General Public License 18*2e9d4914SAndroid Build Coastguard Worker# along with this program; if not, see <http://www.gnu.org/licenses/>. 19*2e9d4914SAndroid Build Coastguard Worker# 20*2e9d4914SAndroid Build Coastguard Worker# As a special exception to the GNU General Public License, if you 21*2e9d4914SAndroid Build Coastguard Worker# distribute this file as part of a program that contains a 22*2e9d4914SAndroid Build Coastguard Worker# configuration script generated by Autoconf, you may include it under 23*2e9d4914SAndroid Build Coastguard Worker# the same distribution terms that you use for the rest of that 24*2e9d4914SAndroid Build Coastguard Worker# program. This Exception is an additional permission under section 7 25*2e9d4914SAndroid Build Coastguard Worker# of the GNU General Public License, version 3 ("GPLv3"). 26*2e9d4914SAndroid Build Coastguard Worker 27*2e9d4914SAndroid Build Coastguard Worker 28*2e9d4914SAndroid Build Coastguard Worker# Please send patches with a ChangeLog entry to [email protected]. 29*2e9d4914SAndroid Build Coastguard Worker# 30*2e9d4914SAndroid Build Coastguard Worker# Configuration subroutine to validate and canonicalize a configuration type. 31*2e9d4914SAndroid Build Coastguard Worker# Supply the specified configuration type as an argument. 32*2e9d4914SAndroid Build Coastguard Worker# If it is invalid, we print an error message on stderr and exit with code 1. 33*2e9d4914SAndroid Build Coastguard Worker# Otherwise, we print the canonical config type on stdout and succeed. 34*2e9d4914SAndroid Build Coastguard Worker 35*2e9d4914SAndroid Build Coastguard Worker# You can get the latest version of this script from: 36*2e9d4914SAndroid Build Coastguard Worker# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD 37*2e9d4914SAndroid Build Coastguard Worker 38*2e9d4914SAndroid Build Coastguard Worker# This file is supposed to be the same for all GNU packages 39*2e9d4914SAndroid Build Coastguard Worker# and recognize all the CPU types, system types and aliases 40*2e9d4914SAndroid Build Coastguard Worker# that are meaningful with *any* GNU software. 41*2e9d4914SAndroid Build Coastguard Worker# Each package is responsible for reporting which valid configurations 42*2e9d4914SAndroid Build Coastguard Worker# it does not support. The user should be able to distinguish 43*2e9d4914SAndroid Build Coastguard Worker# a failure to support a valid configuration from a meaningless 44*2e9d4914SAndroid Build Coastguard Worker# configuration. 45*2e9d4914SAndroid Build Coastguard Worker 46*2e9d4914SAndroid Build Coastguard Worker# The goal of this file is to map all the various variations of a given 47*2e9d4914SAndroid Build Coastguard Worker# machine specification into a single specification in the form: 48*2e9d4914SAndroid Build Coastguard Worker# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 49*2e9d4914SAndroid Build Coastguard Worker# or in some cases, the newer four-part form: 50*2e9d4914SAndroid Build Coastguard Worker# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 51*2e9d4914SAndroid Build Coastguard Worker# It is wrong to echo any other type of specification. 52*2e9d4914SAndroid Build Coastguard Worker 53*2e9d4914SAndroid Build Coastguard Workerme=`echo "$0" | sed -e 's,.*/,,'` 54*2e9d4914SAndroid Build Coastguard Worker 55*2e9d4914SAndroid Build Coastguard Workerusage="\ 56*2e9d4914SAndroid Build Coastguard WorkerUsage: $0 [OPTION] CPU-MFR-OPSYS 57*2e9d4914SAndroid Build Coastguard Worker $0 [OPTION] ALIAS 58*2e9d4914SAndroid Build Coastguard Worker 59*2e9d4914SAndroid Build Coastguard WorkerCanonicalize a configuration name. 60*2e9d4914SAndroid Build Coastguard Worker 61*2e9d4914SAndroid Build Coastguard WorkerOperation modes: 62*2e9d4914SAndroid Build Coastguard Worker -h, --help print this help, then exit 63*2e9d4914SAndroid Build Coastguard Worker -t, --time-stamp print date of last modification, then exit 64*2e9d4914SAndroid Build Coastguard Worker -v, --version print version number, then exit 65*2e9d4914SAndroid Build Coastguard Worker 66*2e9d4914SAndroid Build Coastguard WorkerReport bugs and patches to <[email protected]>." 67*2e9d4914SAndroid Build Coastguard Worker 68*2e9d4914SAndroid Build Coastguard Workerversion="\ 69*2e9d4914SAndroid Build Coastguard WorkerGNU config.sub ($timestamp) 70*2e9d4914SAndroid Build Coastguard Worker 71*2e9d4914SAndroid Build Coastguard WorkerCopyright 1992-2013 Free Software Foundation, Inc. 72*2e9d4914SAndroid Build Coastguard Worker 73*2e9d4914SAndroid Build Coastguard WorkerThis is free software; see the source for copying conditions. There is NO 74*2e9d4914SAndroid Build Coastguard Workerwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 75*2e9d4914SAndroid Build Coastguard Worker 76*2e9d4914SAndroid Build Coastguard Workerhelp=" 77*2e9d4914SAndroid Build Coastguard WorkerTry \`$me --help' for more information." 78*2e9d4914SAndroid Build Coastguard Worker 79*2e9d4914SAndroid Build Coastguard Worker# Parse command line 80*2e9d4914SAndroid Build Coastguard Workerwhile test $# -gt 0 ; do 81*2e9d4914SAndroid Build Coastguard Worker case $1 in 82*2e9d4914SAndroid Build Coastguard Worker --time-stamp | --time* | -t ) 83*2e9d4914SAndroid Build Coastguard Worker echo "$timestamp" ; exit ;; 84*2e9d4914SAndroid Build Coastguard Worker --version | -v ) 85*2e9d4914SAndroid Build Coastguard Worker echo "$version" ; exit ;; 86*2e9d4914SAndroid Build Coastguard Worker --help | --h* | -h ) 87*2e9d4914SAndroid Build Coastguard Worker echo "$usage"; exit ;; 88*2e9d4914SAndroid Build Coastguard Worker -- ) # Stop option processing 89*2e9d4914SAndroid Build Coastguard Worker shift; break ;; 90*2e9d4914SAndroid Build Coastguard Worker - ) # Use stdin as input. 91*2e9d4914SAndroid Build Coastguard Worker break ;; 92*2e9d4914SAndroid Build Coastguard Worker -* ) 93*2e9d4914SAndroid Build Coastguard Worker echo "$me: invalid option $1$help" 94*2e9d4914SAndroid Build Coastguard Worker exit 1 ;; 95*2e9d4914SAndroid Build Coastguard Worker 96*2e9d4914SAndroid Build Coastguard Worker *local*) 97*2e9d4914SAndroid Build Coastguard Worker # First pass through any local machine types. 98*2e9d4914SAndroid Build Coastguard Worker echo $1 99*2e9d4914SAndroid Build Coastguard Worker exit ;; 100*2e9d4914SAndroid Build Coastguard Worker 101*2e9d4914SAndroid Build Coastguard Worker * ) 102*2e9d4914SAndroid Build Coastguard Worker break ;; 103*2e9d4914SAndroid Build Coastguard Worker esac 104*2e9d4914SAndroid Build Coastguard Workerdone 105*2e9d4914SAndroid Build Coastguard Worker 106*2e9d4914SAndroid Build Coastguard Workercase $# in 107*2e9d4914SAndroid Build Coastguard Worker 0) echo "$me: missing argument$help" >&2 108*2e9d4914SAndroid Build Coastguard Worker exit 1;; 109*2e9d4914SAndroid Build Coastguard Worker 1) ;; 110*2e9d4914SAndroid Build Coastguard Worker *) echo "$me: too many arguments$help" >&2 111*2e9d4914SAndroid Build Coastguard Worker exit 1;; 112*2e9d4914SAndroid Build Coastguard Workeresac 113*2e9d4914SAndroid Build Coastguard Worker 114*2e9d4914SAndroid Build Coastguard Worker# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 115*2e9d4914SAndroid Build Coastguard Worker# Here we must recognize all the valid KERNEL-OS combinations. 116*2e9d4914SAndroid Build Coastguard Workermaybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 117*2e9d4914SAndroid Build Coastguard Workercase $maybe_os in 118*2e9d4914SAndroid Build Coastguard Worker nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 119*2e9d4914SAndroid Build Coastguard Worker linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 120*2e9d4914SAndroid Build Coastguard Worker knetbsd*-gnu* | netbsd*-gnu* | \ 121*2e9d4914SAndroid Build Coastguard Worker kopensolaris*-gnu* | \ 122*2e9d4914SAndroid Build Coastguard Worker storm-chaos* | os2-emx* | rtmk-nova*) 123*2e9d4914SAndroid Build Coastguard Worker os=-$maybe_os 124*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 125*2e9d4914SAndroid Build Coastguard Worker ;; 126*2e9d4914SAndroid Build Coastguard Worker android-linux) 127*2e9d4914SAndroid Build Coastguard Worker os=-linux-android 128*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown 129*2e9d4914SAndroid Build Coastguard Worker ;; 130*2e9d4914SAndroid Build Coastguard Worker *) 131*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed 's/-[^-]*$//'` 132*2e9d4914SAndroid Build Coastguard Worker if [ $basic_machine != $1 ] 133*2e9d4914SAndroid Build Coastguard Worker then os=`echo $1 | sed 's/.*-/-/'` 134*2e9d4914SAndroid Build Coastguard Worker else os=; fi 135*2e9d4914SAndroid Build Coastguard Worker ;; 136*2e9d4914SAndroid Build Coastguard Workeresac 137*2e9d4914SAndroid Build Coastguard Worker 138*2e9d4914SAndroid Build Coastguard Worker### Let's recognize common machines as not being operating systems so 139*2e9d4914SAndroid Build Coastguard Worker### that things like config.sub decstation-3100 work. We also 140*2e9d4914SAndroid Build Coastguard Worker### recognize some manufacturers as not being operating systems, so we 141*2e9d4914SAndroid Build Coastguard Worker### can provide default operating systems below. 142*2e9d4914SAndroid Build Coastguard Workercase $os in 143*2e9d4914SAndroid Build Coastguard Worker -sun*os*) 144*2e9d4914SAndroid Build Coastguard Worker # Prevent following clause from handling this invalid input. 145*2e9d4914SAndroid Build Coastguard Worker ;; 146*2e9d4914SAndroid Build Coastguard Worker -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 147*2e9d4914SAndroid Build Coastguard Worker -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 148*2e9d4914SAndroid Build Coastguard Worker -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 149*2e9d4914SAndroid Build Coastguard Worker -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 150*2e9d4914SAndroid Build Coastguard Worker -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 151*2e9d4914SAndroid Build Coastguard Worker -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 152*2e9d4914SAndroid Build Coastguard Worker -apple | -axis | -knuth | -cray | -microblaze*) 153*2e9d4914SAndroid Build Coastguard Worker os= 154*2e9d4914SAndroid Build Coastguard Worker basic_machine=$1 155*2e9d4914SAndroid Build Coastguard Worker ;; 156*2e9d4914SAndroid Build Coastguard Worker -bluegene*) 157*2e9d4914SAndroid Build Coastguard Worker os=-cnk 158*2e9d4914SAndroid Build Coastguard Worker ;; 159*2e9d4914SAndroid Build Coastguard Worker -sim | -cisco | -oki | -wec | -winbond) 160*2e9d4914SAndroid Build Coastguard Worker os= 161*2e9d4914SAndroid Build Coastguard Worker basic_machine=$1 162*2e9d4914SAndroid Build Coastguard Worker ;; 163*2e9d4914SAndroid Build Coastguard Worker -scout) 164*2e9d4914SAndroid Build Coastguard Worker ;; 165*2e9d4914SAndroid Build Coastguard Worker -wrs) 166*2e9d4914SAndroid Build Coastguard Worker os=-vxworks 167*2e9d4914SAndroid Build Coastguard Worker basic_machine=$1 168*2e9d4914SAndroid Build Coastguard Worker ;; 169*2e9d4914SAndroid Build Coastguard Worker -chorusos*) 170*2e9d4914SAndroid Build Coastguard Worker os=-chorusos 171*2e9d4914SAndroid Build Coastguard Worker basic_machine=$1 172*2e9d4914SAndroid Build Coastguard Worker ;; 173*2e9d4914SAndroid Build Coastguard Worker -chorusrdb) 174*2e9d4914SAndroid Build Coastguard Worker os=-chorusrdb 175*2e9d4914SAndroid Build Coastguard Worker basic_machine=$1 176*2e9d4914SAndroid Build Coastguard Worker ;; 177*2e9d4914SAndroid Build Coastguard Worker -hiux*) 178*2e9d4914SAndroid Build Coastguard Worker os=-hiuxwe2 179*2e9d4914SAndroid Build Coastguard Worker ;; 180*2e9d4914SAndroid Build Coastguard Worker -sco6) 181*2e9d4914SAndroid Build Coastguard Worker os=-sco5v6 182*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 183*2e9d4914SAndroid Build Coastguard Worker ;; 184*2e9d4914SAndroid Build Coastguard Worker -sco5) 185*2e9d4914SAndroid Build Coastguard Worker os=-sco3.2v5 186*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 187*2e9d4914SAndroid Build Coastguard Worker ;; 188*2e9d4914SAndroid Build Coastguard Worker -sco4) 189*2e9d4914SAndroid Build Coastguard Worker os=-sco3.2v4 190*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 191*2e9d4914SAndroid Build Coastguard Worker ;; 192*2e9d4914SAndroid Build Coastguard Worker -sco3.2.[4-9]*) 193*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 194*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 195*2e9d4914SAndroid Build Coastguard Worker ;; 196*2e9d4914SAndroid Build Coastguard Worker -sco3.2v[4-9]*) 197*2e9d4914SAndroid Build Coastguard Worker # Don't forget version if it is 3.2v4 or newer. 198*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 199*2e9d4914SAndroid Build Coastguard Worker ;; 200*2e9d4914SAndroid Build Coastguard Worker -sco5v6*) 201*2e9d4914SAndroid Build Coastguard Worker # Don't forget version if it is 3.2v4 or newer. 202*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 203*2e9d4914SAndroid Build Coastguard Worker ;; 204*2e9d4914SAndroid Build Coastguard Worker -sco*) 205*2e9d4914SAndroid Build Coastguard Worker os=-sco3.2v2 206*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 207*2e9d4914SAndroid Build Coastguard Worker ;; 208*2e9d4914SAndroid Build Coastguard Worker -udk*) 209*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 210*2e9d4914SAndroid Build Coastguard Worker ;; 211*2e9d4914SAndroid Build Coastguard Worker -isc) 212*2e9d4914SAndroid Build Coastguard Worker os=-isc2.2 213*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 214*2e9d4914SAndroid Build Coastguard Worker ;; 215*2e9d4914SAndroid Build Coastguard Worker -clix*) 216*2e9d4914SAndroid Build Coastguard Worker basic_machine=clipper-intergraph 217*2e9d4914SAndroid Build Coastguard Worker ;; 218*2e9d4914SAndroid Build Coastguard Worker -isc*) 219*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 220*2e9d4914SAndroid Build Coastguard Worker ;; 221*2e9d4914SAndroid Build Coastguard Worker -lynx*178) 222*2e9d4914SAndroid Build Coastguard Worker os=-lynxos178 223*2e9d4914SAndroid Build Coastguard Worker ;; 224*2e9d4914SAndroid Build Coastguard Worker -lynx*5) 225*2e9d4914SAndroid Build Coastguard Worker os=-lynxos5 226*2e9d4914SAndroid Build Coastguard Worker ;; 227*2e9d4914SAndroid Build Coastguard Worker -lynx*) 228*2e9d4914SAndroid Build Coastguard Worker os=-lynxos 229*2e9d4914SAndroid Build Coastguard Worker ;; 230*2e9d4914SAndroid Build Coastguard Worker -ptx*) 231*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` 232*2e9d4914SAndroid Build Coastguard Worker ;; 233*2e9d4914SAndroid Build Coastguard Worker -windowsnt*) 234*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's/windowsnt/winnt/'` 235*2e9d4914SAndroid Build Coastguard Worker ;; 236*2e9d4914SAndroid Build Coastguard Worker -psos*) 237*2e9d4914SAndroid Build Coastguard Worker os=-psos 238*2e9d4914SAndroid Build Coastguard Worker ;; 239*2e9d4914SAndroid Build Coastguard Worker -mint | -mint[0-9]*) 240*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-atari 241*2e9d4914SAndroid Build Coastguard Worker os=-mint 242*2e9d4914SAndroid Build Coastguard Worker ;; 243*2e9d4914SAndroid Build Coastguard Workeresac 244*2e9d4914SAndroid Build Coastguard Worker 245*2e9d4914SAndroid Build Coastguard Worker# Decode aliases for certain CPU-COMPANY combinations. 246*2e9d4914SAndroid Build Coastguard Workercase $basic_machine in 247*2e9d4914SAndroid Build Coastguard Worker # Recognize the basic CPU types without company name. 248*2e9d4914SAndroid Build Coastguard Worker # Some are omitted here because they have special meanings below. 249*2e9d4914SAndroid Build Coastguard Worker 1750a | 580 \ 250*2e9d4914SAndroid Build Coastguard Worker | a29k \ 251*2e9d4914SAndroid Build Coastguard Worker | aarch64 | aarch64_be \ 252*2e9d4914SAndroid Build Coastguard Worker | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 253*2e9d4914SAndroid Build Coastguard Worker | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 254*2e9d4914SAndroid Build Coastguard Worker | am33_2.0 \ 255*2e9d4914SAndroid Build Coastguard Worker | arc | arceb \ 256*2e9d4914SAndroid Build Coastguard Worker | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ 257*2e9d4914SAndroid Build Coastguard Worker | avr | avr32 \ 258*2e9d4914SAndroid Build Coastguard Worker | be32 | be64 \ 259*2e9d4914SAndroid Build Coastguard Worker | bfin \ 260*2e9d4914SAndroid Build Coastguard Worker | c4x | c8051 | clipper \ 261*2e9d4914SAndroid Build Coastguard Worker | d10v | d30v | dlx | dsp16xx \ 262*2e9d4914SAndroid Build Coastguard Worker | epiphany \ 263*2e9d4914SAndroid Build Coastguard Worker | fido | fr30 | frv \ 264*2e9d4914SAndroid Build Coastguard Worker | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 265*2e9d4914SAndroid Build Coastguard Worker | hexagon \ 266*2e9d4914SAndroid Build Coastguard Worker | i370 | i860 | i960 | ia64 \ 267*2e9d4914SAndroid Build Coastguard Worker | ip2k | iq2000 \ 268*2e9d4914SAndroid Build Coastguard Worker | k1om \ 269*2e9d4914SAndroid Build Coastguard Worker | le32 | le64 \ 270*2e9d4914SAndroid Build Coastguard Worker | lm32 \ 271*2e9d4914SAndroid Build Coastguard Worker | m32c | m32r | m32rle | m68000 | m68k | m88k \ 272*2e9d4914SAndroid Build Coastguard Worker | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ 273*2e9d4914SAndroid Build Coastguard Worker | mips | mipsbe | mipseb | mipsel | mipsle \ 274*2e9d4914SAndroid Build Coastguard Worker | mips16 \ 275*2e9d4914SAndroid Build Coastguard Worker | mips64 | mips64el \ 276*2e9d4914SAndroid Build Coastguard Worker | mips64octeon | mips64octeonel \ 277*2e9d4914SAndroid Build Coastguard Worker | mips64orion | mips64orionel \ 278*2e9d4914SAndroid Build Coastguard Worker | mips64r5900 | mips64r5900el \ 279*2e9d4914SAndroid Build Coastguard Worker | mips64vr | mips64vrel \ 280*2e9d4914SAndroid Build Coastguard Worker | mips64vr4100 | mips64vr4100el \ 281*2e9d4914SAndroid Build Coastguard Worker | mips64vr4300 | mips64vr4300el \ 282*2e9d4914SAndroid Build Coastguard Worker | mips64vr5000 | mips64vr5000el \ 283*2e9d4914SAndroid Build Coastguard Worker | mips64vr5900 | mips64vr5900el \ 284*2e9d4914SAndroid Build Coastguard Worker | mipsisa32 | mipsisa32el \ 285*2e9d4914SAndroid Build Coastguard Worker | mipsisa32r2 | mipsisa32r2el \ 286*2e9d4914SAndroid Build Coastguard Worker | mipsisa64 | mipsisa64el \ 287*2e9d4914SAndroid Build Coastguard Worker | mipsisa64r2 | mipsisa64r2el \ 288*2e9d4914SAndroid Build Coastguard Worker | mipsisa64sb1 | mipsisa64sb1el \ 289*2e9d4914SAndroid Build Coastguard Worker | mipsisa64sr71k | mipsisa64sr71kel \ 290*2e9d4914SAndroid Build Coastguard Worker | mipsr5900 | mipsr5900el \ 291*2e9d4914SAndroid Build Coastguard Worker | mipstx39 | mipstx39el \ 292*2e9d4914SAndroid Build Coastguard Worker | mn10200 | mn10300 \ 293*2e9d4914SAndroid Build Coastguard Worker | moxie \ 294*2e9d4914SAndroid Build Coastguard Worker | mt \ 295*2e9d4914SAndroid Build Coastguard Worker | msp430 \ 296*2e9d4914SAndroid Build Coastguard Worker | nds32 | nds32le | nds32be \ 297*2e9d4914SAndroid Build Coastguard Worker | nios | nios2 | nios2eb | nios2el \ 298*2e9d4914SAndroid Build Coastguard Worker | ns16k | ns32k \ 299*2e9d4914SAndroid Build Coastguard Worker | open8 \ 300*2e9d4914SAndroid Build Coastguard Worker | or1k | or32 \ 301*2e9d4914SAndroid Build Coastguard Worker | pdp10 | pdp11 | pj | pjl \ 302*2e9d4914SAndroid Build Coastguard Worker | powerpc | powerpc64 | powerpc64le | powerpcle \ 303*2e9d4914SAndroid Build Coastguard Worker | pyramid \ 304*2e9d4914SAndroid Build Coastguard Worker | rl78 | rx \ 305*2e9d4914SAndroid Build Coastguard Worker | score \ 306*2e9d4914SAndroid Build Coastguard Worker | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 307*2e9d4914SAndroid Build Coastguard Worker | sh64 | sh64le \ 308*2e9d4914SAndroid Build Coastguard Worker | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ 309*2e9d4914SAndroid Build Coastguard Worker | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 310*2e9d4914SAndroid Build Coastguard Worker | spu \ 311*2e9d4914SAndroid Build Coastguard Worker | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ 312*2e9d4914SAndroid Build Coastguard Worker | ubicom32 \ 313*2e9d4914SAndroid Build Coastguard Worker | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ 314*2e9d4914SAndroid Build Coastguard Worker | we32k \ 315*2e9d4914SAndroid Build Coastguard Worker | x86 | xc16x | xstormy16 | xtensa \ 316*2e9d4914SAndroid Build Coastguard Worker | z8k | z80) 317*2e9d4914SAndroid Build Coastguard Worker basic_machine=$basic_machine-unknown 318*2e9d4914SAndroid Build Coastguard Worker ;; 319*2e9d4914SAndroid Build Coastguard Worker c54x) 320*2e9d4914SAndroid Build Coastguard Worker basic_machine=tic54x-unknown 321*2e9d4914SAndroid Build Coastguard Worker ;; 322*2e9d4914SAndroid Build Coastguard Worker c55x) 323*2e9d4914SAndroid Build Coastguard Worker basic_machine=tic55x-unknown 324*2e9d4914SAndroid Build Coastguard Worker ;; 325*2e9d4914SAndroid Build Coastguard Worker c6x) 326*2e9d4914SAndroid Build Coastguard Worker basic_machine=tic6x-unknown 327*2e9d4914SAndroid Build Coastguard Worker ;; 328*2e9d4914SAndroid Build Coastguard Worker m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) 329*2e9d4914SAndroid Build Coastguard Worker basic_machine=$basic_machine-unknown 330*2e9d4914SAndroid Build Coastguard Worker os=-none 331*2e9d4914SAndroid Build Coastguard Worker ;; 332*2e9d4914SAndroid Build Coastguard Worker m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 333*2e9d4914SAndroid Build Coastguard Worker ;; 334*2e9d4914SAndroid Build Coastguard Worker ms1) 335*2e9d4914SAndroid Build Coastguard Worker basic_machine=mt-unknown 336*2e9d4914SAndroid Build Coastguard Worker ;; 337*2e9d4914SAndroid Build Coastguard Worker 338*2e9d4914SAndroid Build Coastguard Worker strongarm | thumb | xscale) 339*2e9d4914SAndroid Build Coastguard Worker basic_machine=arm-unknown 340*2e9d4914SAndroid Build Coastguard Worker ;; 341*2e9d4914SAndroid Build Coastguard Worker xgate) 342*2e9d4914SAndroid Build Coastguard Worker basic_machine=$basic_machine-unknown 343*2e9d4914SAndroid Build Coastguard Worker os=-none 344*2e9d4914SAndroid Build Coastguard Worker ;; 345*2e9d4914SAndroid Build Coastguard Worker xscaleeb) 346*2e9d4914SAndroid Build Coastguard Worker basic_machine=armeb-unknown 347*2e9d4914SAndroid Build Coastguard Worker ;; 348*2e9d4914SAndroid Build Coastguard Worker 349*2e9d4914SAndroid Build Coastguard Worker xscaleel) 350*2e9d4914SAndroid Build Coastguard Worker basic_machine=armel-unknown 351*2e9d4914SAndroid Build Coastguard Worker ;; 352*2e9d4914SAndroid Build Coastguard Worker 353*2e9d4914SAndroid Build Coastguard Worker # We use `pc' rather than `unknown' 354*2e9d4914SAndroid Build Coastguard Worker # because (1) that's what they normally are, and 355*2e9d4914SAndroid Build Coastguard Worker # (2) the word "unknown" tends to confuse beginning users. 356*2e9d4914SAndroid Build Coastguard Worker i*86 | x86_64) 357*2e9d4914SAndroid Build Coastguard Worker basic_machine=$basic_machine-pc 358*2e9d4914SAndroid Build Coastguard Worker ;; 359*2e9d4914SAndroid Build Coastguard Worker # Object if more than one company name word. 360*2e9d4914SAndroid Build Coastguard Worker *-*-*) 361*2e9d4914SAndroid Build Coastguard Worker echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 362*2e9d4914SAndroid Build Coastguard Worker exit 1 363*2e9d4914SAndroid Build Coastguard Worker ;; 364*2e9d4914SAndroid Build Coastguard Worker # Recognize the basic CPU types with company name. 365*2e9d4914SAndroid Build Coastguard Worker 580-* \ 366*2e9d4914SAndroid Build Coastguard Worker | a29k-* \ 367*2e9d4914SAndroid Build Coastguard Worker | aarch64-* | aarch64_be-* \ 368*2e9d4914SAndroid Build Coastguard Worker | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 369*2e9d4914SAndroid Build Coastguard Worker | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 370*2e9d4914SAndroid Build Coastguard Worker | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ 371*2e9d4914SAndroid Build Coastguard Worker | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 372*2e9d4914SAndroid Build Coastguard Worker | avr-* | avr32-* \ 373*2e9d4914SAndroid Build Coastguard Worker | be32-* | be64-* \ 374*2e9d4914SAndroid Build Coastguard Worker | bfin-* | bs2000-* \ 375*2e9d4914SAndroid Build Coastguard Worker | c[123]* | c30-* | [cjt]90-* | c4x-* \ 376*2e9d4914SAndroid Build Coastguard Worker | c8051-* | clipper-* | craynv-* | cydra-* \ 377*2e9d4914SAndroid Build Coastguard Worker | d10v-* | d30v-* | dlx-* \ 378*2e9d4914SAndroid Build Coastguard Worker | elxsi-* \ 379*2e9d4914SAndroid Build Coastguard Worker | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 380*2e9d4914SAndroid Build Coastguard Worker | h8300-* | h8500-* \ 381*2e9d4914SAndroid Build Coastguard Worker | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 382*2e9d4914SAndroid Build Coastguard Worker | hexagon-* \ 383*2e9d4914SAndroid Build Coastguard Worker | i*86-* | i860-* | i960-* | ia64-* \ 384*2e9d4914SAndroid Build Coastguard Worker | ip2k-* | iq2000-* \ 385*2e9d4914SAndroid Build Coastguard Worker | k1om-* \ 386*2e9d4914SAndroid Build Coastguard Worker | le32-* | le64-* \ 387*2e9d4914SAndroid Build Coastguard Worker | lm32-* \ 388*2e9d4914SAndroid Build Coastguard Worker | m32c-* | m32r-* | m32rle-* \ 389*2e9d4914SAndroid Build Coastguard Worker | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 390*2e9d4914SAndroid Build Coastguard Worker | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 391*2e9d4914SAndroid Build Coastguard Worker | microblaze-* | microblazeel-* \ 392*2e9d4914SAndroid Build Coastguard Worker | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 393*2e9d4914SAndroid Build Coastguard Worker | mips16-* \ 394*2e9d4914SAndroid Build Coastguard Worker | mips64-* | mips64el-* \ 395*2e9d4914SAndroid Build Coastguard Worker | mips64octeon-* | mips64octeonel-* \ 396*2e9d4914SAndroid Build Coastguard Worker | mips64orion-* | mips64orionel-* \ 397*2e9d4914SAndroid Build Coastguard Worker | mips64r5900-* | mips64r5900el-* \ 398*2e9d4914SAndroid Build Coastguard Worker | mips64vr-* | mips64vrel-* \ 399*2e9d4914SAndroid Build Coastguard Worker | mips64vr4100-* | mips64vr4100el-* \ 400*2e9d4914SAndroid Build Coastguard Worker | mips64vr4300-* | mips64vr4300el-* \ 401*2e9d4914SAndroid Build Coastguard Worker | mips64vr5000-* | mips64vr5000el-* \ 402*2e9d4914SAndroid Build Coastguard Worker | mips64vr5900-* | mips64vr5900el-* \ 403*2e9d4914SAndroid Build Coastguard Worker | mipsisa32-* | mipsisa32el-* \ 404*2e9d4914SAndroid Build Coastguard Worker | mipsisa32r2-* | mipsisa32r2el-* \ 405*2e9d4914SAndroid Build Coastguard Worker | mipsisa64-* | mipsisa64el-* \ 406*2e9d4914SAndroid Build Coastguard Worker | mipsisa64r2-* | mipsisa64r2el-* \ 407*2e9d4914SAndroid Build Coastguard Worker | mipsisa64sb1-* | mipsisa64sb1el-* \ 408*2e9d4914SAndroid Build Coastguard Worker | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 409*2e9d4914SAndroid Build Coastguard Worker | mipsr5900-* | mipsr5900el-* \ 410*2e9d4914SAndroid Build Coastguard Worker | mipstx39-* | mipstx39el-* \ 411*2e9d4914SAndroid Build Coastguard Worker | mmix-* \ 412*2e9d4914SAndroid Build Coastguard Worker | mt-* \ 413*2e9d4914SAndroid Build Coastguard Worker | msp430-* \ 414*2e9d4914SAndroid Build Coastguard Worker | nds32-* | nds32le-* | nds32be-* \ 415*2e9d4914SAndroid Build Coastguard Worker | nios-* | nios2-* | nios2eb-* | nios2el-* \ 416*2e9d4914SAndroid Build Coastguard Worker | none-* | np1-* | ns16k-* | ns32k-* \ 417*2e9d4914SAndroid Build Coastguard Worker | open8-* \ 418*2e9d4914SAndroid Build Coastguard Worker | orion-* \ 419*2e9d4914SAndroid Build Coastguard Worker | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 420*2e9d4914SAndroid Build Coastguard Worker | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ 421*2e9d4914SAndroid Build Coastguard Worker | pyramid-* \ 422*2e9d4914SAndroid Build Coastguard Worker | rl78-* | romp-* | rs6000-* | rx-* \ 423*2e9d4914SAndroid Build Coastguard Worker | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 424*2e9d4914SAndroid Build Coastguard Worker | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 425*2e9d4914SAndroid Build Coastguard Worker | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 426*2e9d4914SAndroid Build Coastguard Worker | sparclite-* \ 427*2e9d4914SAndroid Build Coastguard Worker | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ 428*2e9d4914SAndroid Build Coastguard Worker | tahoe-* \ 429*2e9d4914SAndroid Build Coastguard Worker | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 430*2e9d4914SAndroid Build Coastguard Worker | tile*-* \ 431*2e9d4914SAndroid Build Coastguard Worker | tron-* \ 432*2e9d4914SAndroid Build Coastguard Worker | ubicom32-* \ 433*2e9d4914SAndroid Build Coastguard Worker | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ 434*2e9d4914SAndroid Build Coastguard Worker | vax-* \ 435*2e9d4914SAndroid Build Coastguard Worker | we32k-* \ 436*2e9d4914SAndroid Build Coastguard Worker | x86-* | x86_64-* | xc16x-* | xps100-* \ 437*2e9d4914SAndroid Build Coastguard Worker | xstormy16-* | xtensa*-* \ 438*2e9d4914SAndroid Build Coastguard Worker | ymp-* \ 439*2e9d4914SAndroid Build Coastguard Worker | z8k-* | z80-*) 440*2e9d4914SAndroid Build Coastguard Worker ;; 441*2e9d4914SAndroid Build Coastguard Worker # Recognize the basic CPU types without company name, with glob match. 442*2e9d4914SAndroid Build Coastguard Worker xtensa*) 443*2e9d4914SAndroid Build Coastguard Worker basic_machine=$basic_machine-unknown 444*2e9d4914SAndroid Build Coastguard Worker ;; 445*2e9d4914SAndroid Build Coastguard Worker # Recognize the various machine names and aliases which stand 446*2e9d4914SAndroid Build Coastguard Worker # for a CPU type and a company and sometimes even an OS. 447*2e9d4914SAndroid Build Coastguard Worker 386bsd) 448*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-unknown 449*2e9d4914SAndroid Build Coastguard Worker os=-bsd 450*2e9d4914SAndroid Build Coastguard Worker ;; 451*2e9d4914SAndroid Build Coastguard Worker 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) 452*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68000-att 453*2e9d4914SAndroid Build Coastguard Worker ;; 454*2e9d4914SAndroid Build Coastguard Worker 3b*) 455*2e9d4914SAndroid Build Coastguard Worker basic_machine=we32k-att 456*2e9d4914SAndroid Build Coastguard Worker ;; 457*2e9d4914SAndroid Build Coastguard Worker a29khif) 458*2e9d4914SAndroid Build Coastguard Worker basic_machine=a29k-amd 459*2e9d4914SAndroid Build Coastguard Worker os=-udi 460*2e9d4914SAndroid Build Coastguard Worker ;; 461*2e9d4914SAndroid Build Coastguard Worker abacus) 462*2e9d4914SAndroid Build Coastguard Worker basic_machine=abacus-unknown 463*2e9d4914SAndroid Build Coastguard Worker ;; 464*2e9d4914SAndroid Build Coastguard Worker adobe68k) 465*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68010-adobe 466*2e9d4914SAndroid Build Coastguard Worker os=-scout 467*2e9d4914SAndroid Build Coastguard Worker ;; 468*2e9d4914SAndroid Build Coastguard Worker alliant | fx80) 469*2e9d4914SAndroid Build Coastguard Worker basic_machine=fx80-alliant 470*2e9d4914SAndroid Build Coastguard Worker ;; 471*2e9d4914SAndroid Build Coastguard Worker altos | altos3068) 472*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-altos 473*2e9d4914SAndroid Build Coastguard Worker ;; 474*2e9d4914SAndroid Build Coastguard Worker am29k) 475*2e9d4914SAndroid Build Coastguard Worker basic_machine=a29k-none 476*2e9d4914SAndroid Build Coastguard Worker os=-bsd 477*2e9d4914SAndroid Build Coastguard Worker ;; 478*2e9d4914SAndroid Build Coastguard Worker amd64) 479*2e9d4914SAndroid Build Coastguard Worker basic_machine=x86_64-pc 480*2e9d4914SAndroid Build Coastguard Worker ;; 481*2e9d4914SAndroid Build Coastguard Worker amd64-*) 482*2e9d4914SAndroid Build Coastguard Worker basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` 483*2e9d4914SAndroid Build Coastguard Worker ;; 484*2e9d4914SAndroid Build Coastguard Worker amdahl) 485*2e9d4914SAndroid Build Coastguard Worker basic_machine=580-amdahl 486*2e9d4914SAndroid Build Coastguard Worker os=-sysv 487*2e9d4914SAndroid Build Coastguard Worker ;; 488*2e9d4914SAndroid Build Coastguard Worker amiga | amiga-*) 489*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-unknown 490*2e9d4914SAndroid Build Coastguard Worker ;; 491*2e9d4914SAndroid Build Coastguard Worker amigaos | amigados) 492*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-unknown 493*2e9d4914SAndroid Build Coastguard Worker os=-amigaos 494*2e9d4914SAndroid Build Coastguard Worker ;; 495*2e9d4914SAndroid Build Coastguard Worker amigaunix | amix) 496*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-unknown 497*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 498*2e9d4914SAndroid Build Coastguard Worker ;; 499*2e9d4914SAndroid Build Coastguard Worker apollo68) 500*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-apollo 501*2e9d4914SAndroid Build Coastguard Worker os=-sysv 502*2e9d4914SAndroid Build Coastguard Worker ;; 503*2e9d4914SAndroid Build Coastguard Worker apollo68bsd) 504*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-apollo 505*2e9d4914SAndroid Build Coastguard Worker os=-bsd 506*2e9d4914SAndroid Build Coastguard Worker ;; 507*2e9d4914SAndroid Build Coastguard Worker aros) 508*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-pc 509*2e9d4914SAndroid Build Coastguard Worker os=-aros 510*2e9d4914SAndroid Build Coastguard Worker ;; 511*2e9d4914SAndroid Build Coastguard Worker aux) 512*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-apple 513*2e9d4914SAndroid Build Coastguard Worker os=-aux 514*2e9d4914SAndroid Build Coastguard Worker ;; 515*2e9d4914SAndroid Build Coastguard Worker balance) 516*2e9d4914SAndroid Build Coastguard Worker basic_machine=ns32k-sequent 517*2e9d4914SAndroid Build Coastguard Worker os=-dynix 518*2e9d4914SAndroid Build Coastguard Worker ;; 519*2e9d4914SAndroid Build Coastguard Worker blackfin) 520*2e9d4914SAndroid Build Coastguard Worker basic_machine=bfin-unknown 521*2e9d4914SAndroid Build Coastguard Worker os=-linux 522*2e9d4914SAndroid Build Coastguard Worker ;; 523*2e9d4914SAndroid Build Coastguard Worker blackfin-*) 524*2e9d4914SAndroid Build Coastguard Worker basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` 525*2e9d4914SAndroid Build Coastguard Worker os=-linux 526*2e9d4914SAndroid Build Coastguard Worker ;; 527*2e9d4914SAndroid Build Coastguard Worker bluegene*) 528*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpc-ibm 529*2e9d4914SAndroid Build Coastguard Worker os=-cnk 530*2e9d4914SAndroid Build Coastguard Worker ;; 531*2e9d4914SAndroid Build Coastguard Worker c54x-*) 532*2e9d4914SAndroid Build Coastguard Worker basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` 533*2e9d4914SAndroid Build Coastguard Worker ;; 534*2e9d4914SAndroid Build Coastguard Worker c55x-*) 535*2e9d4914SAndroid Build Coastguard Worker basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` 536*2e9d4914SAndroid Build Coastguard Worker ;; 537*2e9d4914SAndroid Build Coastguard Worker c6x-*) 538*2e9d4914SAndroid Build Coastguard Worker basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` 539*2e9d4914SAndroid Build Coastguard Worker ;; 540*2e9d4914SAndroid Build Coastguard Worker c90) 541*2e9d4914SAndroid Build Coastguard Worker basic_machine=c90-cray 542*2e9d4914SAndroid Build Coastguard Worker os=-unicos 543*2e9d4914SAndroid Build Coastguard Worker ;; 544*2e9d4914SAndroid Build Coastguard Worker cegcc) 545*2e9d4914SAndroid Build Coastguard Worker basic_machine=arm-unknown 546*2e9d4914SAndroid Build Coastguard Worker os=-cegcc 547*2e9d4914SAndroid Build Coastguard Worker ;; 548*2e9d4914SAndroid Build Coastguard Worker convex-c1) 549*2e9d4914SAndroid Build Coastguard Worker basic_machine=c1-convex 550*2e9d4914SAndroid Build Coastguard Worker os=-bsd 551*2e9d4914SAndroid Build Coastguard Worker ;; 552*2e9d4914SAndroid Build Coastguard Worker convex-c2) 553*2e9d4914SAndroid Build Coastguard Worker basic_machine=c2-convex 554*2e9d4914SAndroid Build Coastguard Worker os=-bsd 555*2e9d4914SAndroid Build Coastguard Worker ;; 556*2e9d4914SAndroid Build Coastguard Worker convex-c32) 557*2e9d4914SAndroid Build Coastguard Worker basic_machine=c32-convex 558*2e9d4914SAndroid Build Coastguard Worker os=-bsd 559*2e9d4914SAndroid Build Coastguard Worker ;; 560*2e9d4914SAndroid Build Coastguard Worker convex-c34) 561*2e9d4914SAndroid Build Coastguard Worker basic_machine=c34-convex 562*2e9d4914SAndroid Build Coastguard Worker os=-bsd 563*2e9d4914SAndroid Build Coastguard Worker ;; 564*2e9d4914SAndroid Build Coastguard Worker convex-c38) 565*2e9d4914SAndroid Build Coastguard Worker basic_machine=c38-convex 566*2e9d4914SAndroid Build Coastguard Worker os=-bsd 567*2e9d4914SAndroid Build Coastguard Worker ;; 568*2e9d4914SAndroid Build Coastguard Worker cray | j90) 569*2e9d4914SAndroid Build Coastguard Worker basic_machine=j90-cray 570*2e9d4914SAndroid Build Coastguard Worker os=-unicos 571*2e9d4914SAndroid Build Coastguard Worker ;; 572*2e9d4914SAndroid Build Coastguard Worker craynv) 573*2e9d4914SAndroid Build Coastguard Worker basic_machine=craynv-cray 574*2e9d4914SAndroid Build Coastguard Worker os=-unicosmp 575*2e9d4914SAndroid Build Coastguard Worker ;; 576*2e9d4914SAndroid Build Coastguard Worker cr16 | cr16-*) 577*2e9d4914SAndroid Build Coastguard Worker basic_machine=cr16-unknown 578*2e9d4914SAndroid Build Coastguard Worker os=-elf 579*2e9d4914SAndroid Build Coastguard Worker ;; 580*2e9d4914SAndroid Build Coastguard Worker crds | unos) 581*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-crds 582*2e9d4914SAndroid Build Coastguard Worker ;; 583*2e9d4914SAndroid Build Coastguard Worker crisv32 | crisv32-* | etraxfs*) 584*2e9d4914SAndroid Build Coastguard Worker basic_machine=crisv32-axis 585*2e9d4914SAndroid Build Coastguard Worker ;; 586*2e9d4914SAndroid Build Coastguard Worker cris | cris-* | etrax*) 587*2e9d4914SAndroid Build Coastguard Worker basic_machine=cris-axis 588*2e9d4914SAndroid Build Coastguard Worker ;; 589*2e9d4914SAndroid Build Coastguard Worker crx) 590*2e9d4914SAndroid Build Coastguard Worker basic_machine=crx-unknown 591*2e9d4914SAndroid Build Coastguard Worker os=-elf 592*2e9d4914SAndroid Build Coastguard Worker ;; 593*2e9d4914SAndroid Build Coastguard Worker da30 | da30-*) 594*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-da30 595*2e9d4914SAndroid Build Coastguard Worker ;; 596*2e9d4914SAndroid Build Coastguard Worker decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) 597*2e9d4914SAndroid Build Coastguard Worker basic_machine=mips-dec 598*2e9d4914SAndroid Build Coastguard Worker ;; 599*2e9d4914SAndroid Build Coastguard Worker decsystem10* | dec10*) 600*2e9d4914SAndroid Build Coastguard Worker basic_machine=pdp10-dec 601*2e9d4914SAndroid Build Coastguard Worker os=-tops10 602*2e9d4914SAndroid Build Coastguard Worker ;; 603*2e9d4914SAndroid Build Coastguard Worker decsystem20* | dec20*) 604*2e9d4914SAndroid Build Coastguard Worker basic_machine=pdp10-dec 605*2e9d4914SAndroid Build Coastguard Worker os=-tops20 606*2e9d4914SAndroid Build Coastguard Worker ;; 607*2e9d4914SAndroid Build Coastguard Worker delta | 3300 | motorola-3300 | motorola-delta \ 608*2e9d4914SAndroid Build Coastguard Worker | 3300-motorola | delta-motorola) 609*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-motorola 610*2e9d4914SAndroid Build Coastguard Worker ;; 611*2e9d4914SAndroid Build Coastguard Worker delta88) 612*2e9d4914SAndroid Build Coastguard Worker basic_machine=m88k-motorola 613*2e9d4914SAndroid Build Coastguard Worker os=-sysv3 614*2e9d4914SAndroid Build Coastguard Worker ;; 615*2e9d4914SAndroid Build Coastguard Worker dicos) 616*2e9d4914SAndroid Build Coastguard Worker basic_machine=i686-pc 617*2e9d4914SAndroid Build Coastguard Worker os=-dicos 618*2e9d4914SAndroid Build Coastguard Worker ;; 619*2e9d4914SAndroid Build Coastguard Worker djgpp) 620*2e9d4914SAndroid Build Coastguard Worker basic_machine=i586-pc 621*2e9d4914SAndroid Build Coastguard Worker os=-msdosdjgpp 622*2e9d4914SAndroid Build Coastguard Worker ;; 623*2e9d4914SAndroid Build Coastguard Worker dpx20 | dpx20-*) 624*2e9d4914SAndroid Build Coastguard Worker basic_machine=rs6000-bull 625*2e9d4914SAndroid Build Coastguard Worker os=-bosx 626*2e9d4914SAndroid Build Coastguard Worker ;; 627*2e9d4914SAndroid Build Coastguard Worker dpx2* | dpx2*-bull) 628*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-bull 629*2e9d4914SAndroid Build Coastguard Worker os=-sysv3 630*2e9d4914SAndroid Build Coastguard Worker ;; 631*2e9d4914SAndroid Build Coastguard Worker ebmon29k) 632*2e9d4914SAndroid Build Coastguard Worker basic_machine=a29k-amd 633*2e9d4914SAndroid Build Coastguard Worker os=-ebmon 634*2e9d4914SAndroid Build Coastguard Worker ;; 635*2e9d4914SAndroid Build Coastguard Worker elxsi) 636*2e9d4914SAndroid Build Coastguard Worker basic_machine=elxsi-elxsi 637*2e9d4914SAndroid Build Coastguard Worker os=-bsd 638*2e9d4914SAndroid Build Coastguard Worker ;; 639*2e9d4914SAndroid Build Coastguard Worker encore | umax | mmax) 640*2e9d4914SAndroid Build Coastguard Worker basic_machine=ns32k-encore 641*2e9d4914SAndroid Build Coastguard Worker ;; 642*2e9d4914SAndroid Build Coastguard Worker es1800 | OSE68k | ose68k | ose | OSE) 643*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-ericsson 644*2e9d4914SAndroid Build Coastguard Worker os=-ose 645*2e9d4914SAndroid Build Coastguard Worker ;; 646*2e9d4914SAndroid Build Coastguard Worker fx2800) 647*2e9d4914SAndroid Build Coastguard Worker basic_machine=i860-alliant 648*2e9d4914SAndroid Build Coastguard Worker ;; 649*2e9d4914SAndroid Build Coastguard Worker genix) 650*2e9d4914SAndroid Build Coastguard Worker basic_machine=ns32k-ns 651*2e9d4914SAndroid Build Coastguard Worker ;; 652*2e9d4914SAndroid Build Coastguard Worker gmicro) 653*2e9d4914SAndroid Build Coastguard Worker basic_machine=tron-gmicro 654*2e9d4914SAndroid Build Coastguard Worker os=-sysv 655*2e9d4914SAndroid Build Coastguard Worker ;; 656*2e9d4914SAndroid Build Coastguard Worker go32) 657*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-pc 658*2e9d4914SAndroid Build Coastguard Worker os=-go32 659*2e9d4914SAndroid Build Coastguard Worker ;; 660*2e9d4914SAndroid Build Coastguard Worker h3050r* | hiux*) 661*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-hitachi 662*2e9d4914SAndroid Build Coastguard Worker os=-hiuxwe2 663*2e9d4914SAndroid Build Coastguard Worker ;; 664*2e9d4914SAndroid Build Coastguard Worker h8300hms) 665*2e9d4914SAndroid Build Coastguard Worker basic_machine=h8300-hitachi 666*2e9d4914SAndroid Build Coastguard Worker os=-hms 667*2e9d4914SAndroid Build Coastguard Worker ;; 668*2e9d4914SAndroid Build Coastguard Worker h8300xray) 669*2e9d4914SAndroid Build Coastguard Worker basic_machine=h8300-hitachi 670*2e9d4914SAndroid Build Coastguard Worker os=-xray 671*2e9d4914SAndroid Build Coastguard Worker ;; 672*2e9d4914SAndroid Build Coastguard Worker h8500hms) 673*2e9d4914SAndroid Build Coastguard Worker basic_machine=h8500-hitachi 674*2e9d4914SAndroid Build Coastguard Worker os=-hms 675*2e9d4914SAndroid Build Coastguard Worker ;; 676*2e9d4914SAndroid Build Coastguard Worker harris) 677*2e9d4914SAndroid Build Coastguard Worker basic_machine=m88k-harris 678*2e9d4914SAndroid Build Coastguard Worker os=-sysv3 679*2e9d4914SAndroid Build Coastguard Worker ;; 680*2e9d4914SAndroid Build Coastguard Worker hp300-*) 681*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-hp 682*2e9d4914SAndroid Build Coastguard Worker ;; 683*2e9d4914SAndroid Build Coastguard Worker hp300bsd) 684*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-hp 685*2e9d4914SAndroid Build Coastguard Worker os=-bsd 686*2e9d4914SAndroid Build Coastguard Worker ;; 687*2e9d4914SAndroid Build Coastguard Worker hp300hpux) 688*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-hp 689*2e9d4914SAndroid Build Coastguard Worker os=-hpux 690*2e9d4914SAndroid Build Coastguard Worker ;; 691*2e9d4914SAndroid Build Coastguard Worker hp3k9[0-9][0-9] | hp9[0-9][0-9]) 692*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.0-hp 693*2e9d4914SAndroid Build Coastguard Worker ;; 694*2e9d4914SAndroid Build Coastguard Worker hp9k2[0-9][0-9] | hp9k31[0-9]) 695*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68000-hp 696*2e9d4914SAndroid Build Coastguard Worker ;; 697*2e9d4914SAndroid Build Coastguard Worker hp9k3[2-9][0-9]) 698*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-hp 699*2e9d4914SAndroid Build Coastguard Worker ;; 700*2e9d4914SAndroid Build Coastguard Worker hp9k6[0-9][0-9] | hp6[0-9][0-9]) 701*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.0-hp 702*2e9d4914SAndroid Build Coastguard Worker ;; 703*2e9d4914SAndroid Build Coastguard Worker hp9k7[0-79][0-9] | hp7[0-79][0-9]) 704*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-hp 705*2e9d4914SAndroid Build Coastguard Worker ;; 706*2e9d4914SAndroid Build Coastguard Worker hp9k78[0-9] | hp78[0-9]) 707*2e9d4914SAndroid Build Coastguard Worker # FIXME: really hppa2.0-hp 708*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-hp 709*2e9d4914SAndroid Build Coastguard Worker ;; 710*2e9d4914SAndroid Build Coastguard Worker hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) 711*2e9d4914SAndroid Build Coastguard Worker # FIXME: really hppa2.0-hp 712*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-hp 713*2e9d4914SAndroid Build Coastguard Worker ;; 714*2e9d4914SAndroid Build Coastguard Worker hp9k8[0-9][13679] | hp8[0-9][13679]) 715*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-hp 716*2e9d4914SAndroid Build Coastguard Worker ;; 717*2e9d4914SAndroid Build Coastguard Worker hp9k8[0-9][0-9] | hp8[0-9][0-9]) 718*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.0-hp 719*2e9d4914SAndroid Build Coastguard Worker ;; 720*2e9d4914SAndroid Build Coastguard Worker hppa-next) 721*2e9d4914SAndroid Build Coastguard Worker os=-nextstep3 722*2e9d4914SAndroid Build Coastguard Worker ;; 723*2e9d4914SAndroid Build Coastguard Worker hppaosf) 724*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-hp 725*2e9d4914SAndroid Build Coastguard Worker os=-osf 726*2e9d4914SAndroid Build Coastguard Worker ;; 727*2e9d4914SAndroid Build Coastguard Worker hppro) 728*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-hp 729*2e9d4914SAndroid Build Coastguard Worker os=-proelf 730*2e9d4914SAndroid Build Coastguard Worker ;; 731*2e9d4914SAndroid Build Coastguard Worker i370-ibm* | ibm*) 732*2e9d4914SAndroid Build Coastguard Worker basic_machine=i370-ibm 733*2e9d4914SAndroid Build Coastguard Worker ;; 734*2e9d4914SAndroid Build Coastguard Worker i*86v32) 735*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 736*2e9d4914SAndroid Build Coastguard Worker os=-sysv32 737*2e9d4914SAndroid Build Coastguard Worker ;; 738*2e9d4914SAndroid Build Coastguard Worker i*86v4*) 739*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 740*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 741*2e9d4914SAndroid Build Coastguard Worker ;; 742*2e9d4914SAndroid Build Coastguard Worker i*86v) 743*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 744*2e9d4914SAndroid Build Coastguard Worker os=-sysv 745*2e9d4914SAndroid Build Coastguard Worker ;; 746*2e9d4914SAndroid Build Coastguard Worker i*86sol2) 747*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` 748*2e9d4914SAndroid Build Coastguard Worker os=-solaris2 749*2e9d4914SAndroid Build Coastguard Worker ;; 750*2e9d4914SAndroid Build Coastguard Worker i386mach) 751*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-mach 752*2e9d4914SAndroid Build Coastguard Worker os=-mach 753*2e9d4914SAndroid Build Coastguard Worker ;; 754*2e9d4914SAndroid Build Coastguard Worker i386-vsta | vsta) 755*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-unknown 756*2e9d4914SAndroid Build Coastguard Worker os=-vsta 757*2e9d4914SAndroid Build Coastguard Worker ;; 758*2e9d4914SAndroid Build Coastguard Worker iris | iris4d) 759*2e9d4914SAndroid Build Coastguard Worker basic_machine=mips-sgi 760*2e9d4914SAndroid Build Coastguard Worker case $os in 761*2e9d4914SAndroid Build Coastguard Worker -irix*) 762*2e9d4914SAndroid Build Coastguard Worker ;; 763*2e9d4914SAndroid Build Coastguard Worker *) 764*2e9d4914SAndroid Build Coastguard Worker os=-irix4 765*2e9d4914SAndroid Build Coastguard Worker ;; 766*2e9d4914SAndroid Build Coastguard Worker esac 767*2e9d4914SAndroid Build Coastguard Worker ;; 768*2e9d4914SAndroid Build Coastguard Worker isi68 | isi) 769*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-isi 770*2e9d4914SAndroid Build Coastguard Worker os=-sysv 771*2e9d4914SAndroid Build Coastguard Worker ;; 772*2e9d4914SAndroid Build Coastguard Worker m68knommu) 773*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-unknown 774*2e9d4914SAndroid Build Coastguard Worker os=-linux 775*2e9d4914SAndroid Build Coastguard Worker ;; 776*2e9d4914SAndroid Build Coastguard Worker m68knommu-*) 777*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` 778*2e9d4914SAndroid Build Coastguard Worker os=-linux 779*2e9d4914SAndroid Build Coastguard Worker ;; 780*2e9d4914SAndroid Build Coastguard Worker m88k-omron*) 781*2e9d4914SAndroid Build Coastguard Worker basic_machine=m88k-omron 782*2e9d4914SAndroid Build Coastguard Worker ;; 783*2e9d4914SAndroid Build Coastguard Worker magnum | m3230) 784*2e9d4914SAndroid Build Coastguard Worker basic_machine=mips-mips 785*2e9d4914SAndroid Build Coastguard Worker os=-sysv 786*2e9d4914SAndroid Build Coastguard Worker ;; 787*2e9d4914SAndroid Build Coastguard Worker merlin) 788*2e9d4914SAndroid Build Coastguard Worker basic_machine=ns32k-utek 789*2e9d4914SAndroid Build Coastguard Worker os=-sysv 790*2e9d4914SAndroid Build Coastguard Worker ;; 791*2e9d4914SAndroid Build Coastguard Worker microblaze*) 792*2e9d4914SAndroid Build Coastguard Worker basic_machine=microblaze-xilinx 793*2e9d4914SAndroid Build Coastguard Worker ;; 794*2e9d4914SAndroid Build Coastguard Worker mingw64) 795*2e9d4914SAndroid Build Coastguard Worker basic_machine=x86_64-pc 796*2e9d4914SAndroid Build Coastguard Worker os=-mingw64 797*2e9d4914SAndroid Build Coastguard Worker ;; 798*2e9d4914SAndroid Build Coastguard Worker mingw32) 799*2e9d4914SAndroid Build Coastguard Worker basic_machine=i686-pc 800*2e9d4914SAndroid Build Coastguard Worker os=-mingw32 801*2e9d4914SAndroid Build Coastguard Worker ;; 802*2e9d4914SAndroid Build Coastguard Worker mingw32ce) 803*2e9d4914SAndroid Build Coastguard Worker basic_machine=arm-unknown 804*2e9d4914SAndroid Build Coastguard Worker os=-mingw32ce 805*2e9d4914SAndroid Build Coastguard Worker ;; 806*2e9d4914SAndroid Build Coastguard Worker miniframe) 807*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68000-convergent 808*2e9d4914SAndroid Build Coastguard Worker ;; 809*2e9d4914SAndroid Build Coastguard Worker *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) 810*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-atari 811*2e9d4914SAndroid Build Coastguard Worker os=-mint 812*2e9d4914SAndroid Build Coastguard Worker ;; 813*2e9d4914SAndroid Build Coastguard Worker mips3*-*) 814*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` 815*2e9d4914SAndroid Build Coastguard Worker ;; 816*2e9d4914SAndroid Build Coastguard Worker mips3*) 817*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 818*2e9d4914SAndroid Build Coastguard Worker ;; 819*2e9d4914SAndroid Build Coastguard Worker monitor) 820*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-rom68k 821*2e9d4914SAndroid Build Coastguard Worker os=-coff 822*2e9d4914SAndroid Build Coastguard Worker ;; 823*2e9d4914SAndroid Build Coastguard Worker morphos) 824*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpc-unknown 825*2e9d4914SAndroid Build Coastguard Worker os=-morphos 826*2e9d4914SAndroid Build Coastguard Worker ;; 827*2e9d4914SAndroid Build Coastguard Worker msdos) 828*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-pc 829*2e9d4914SAndroid Build Coastguard Worker os=-msdos 830*2e9d4914SAndroid Build Coastguard Worker ;; 831*2e9d4914SAndroid Build Coastguard Worker ms1-*) 832*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 833*2e9d4914SAndroid Build Coastguard Worker ;; 834*2e9d4914SAndroid Build Coastguard Worker msys) 835*2e9d4914SAndroid Build Coastguard Worker basic_machine=i686-pc 836*2e9d4914SAndroid Build Coastguard Worker os=-msys 837*2e9d4914SAndroid Build Coastguard Worker ;; 838*2e9d4914SAndroid Build Coastguard Worker mvs) 839*2e9d4914SAndroid Build Coastguard Worker basic_machine=i370-ibm 840*2e9d4914SAndroid Build Coastguard Worker os=-mvs 841*2e9d4914SAndroid Build Coastguard Worker ;; 842*2e9d4914SAndroid Build Coastguard Worker nacl) 843*2e9d4914SAndroid Build Coastguard Worker basic_machine=le32-unknown 844*2e9d4914SAndroid Build Coastguard Worker os=-nacl 845*2e9d4914SAndroid Build Coastguard Worker ;; 846*2e9d4914SAndroid Build Coastguard Worker ncr3000) 847*2e9d4914SAndroid Build Coastguard Worker basic_machine=i486-ncr 848*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 849*2e9d4914SAndroid Build Coastguard Worker ;; 850*2e9d4914SAndroid Build Coastguard Worker netbsd386) 851*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-unknown 852*2e9d4914SAndroid Build Coastguard Worker os=-netbsd 853*2e9d4914SAndroid Build Coastguard Worker ;; 854*2e9d4914SAndroid Build Coastguard Worker netwinder) 855*2e9d4914SAndroid Build Coastguard Worker basic_machine=armv4l-rebel 856*2e9d4914SAndroid Build Coastguard Worker os=-linux 857*2e9d4914SAndroid Build Coastguard Worker ;; 858*2e9d4914SAndroid Build Coastguard Worker news | news700 | news800 | news900) 859*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-sony 860*2e9d4914SAndroid Build Coastguard Worker os=-newsos 861*2e9d4914SAndroid Build Coastguard Worker ;; 862*2e9d4914SAndroid Build Coastguard Worker news1000) 863*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68030-sony 864*2e9d4914SAndroid Build Coastguard Worker os=-newsos 865*2e9d4914SAndroid Build Coastguard Worker ;; 866*2e9d4914SAndroid Build Coastguard Worker news-3600 | risc-news) 867*2e9d4914SAndroid Build Coastguard Worker basic_machine=mips-sony 868*2e9d4914SAndroid Build Coastguard Worker os=-newsos 869*2e9d4914SAndroid Build Coastguard Worker ;; 870*2e9d4914SAndroid Build Coastguard Worker necv70) 871*2e9d4914SAndroid Build Coastguard Worker basic_machine=v70-nec 872*2e9d4914SAndroid Build Coastguard Worker os=-sysv 873*2e9d4914SAndroid Build Coastguard Worker ;; 874*2e9d4914SAndroid Build Coastguard Worker next | m*-next ) 875*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-next 876*2e9d4914SAndroid Build Coastguard Worker case $os in 877*2e9d4914SAndroid Build Coastguard Worker -nextstep* ) 878*2e9d4914SAndroid Build Coastguard Worker ;; 879*2e9d4914SAndroid Build Coastguard Worker -ns2*) 880*2e9d4914SAndroid Build Coastguard Worker os=-nextstep2 881*2e9d4914SAndroid Build Coastguard Worker ;; 882*2e9d4914SAndroid Build Coastguard Worker *) 883*2e9d4914SAndroid Build Coastguard Worker os=-nextstep3 884*2e9d4914SAndroid Build Coastguard Worker ;; 885*2e9d4914SAndroid Build Coastguard Worker esac 886*2e9d4914SAndroid Build Coastguard Worker ;; 887*2e9d4914SAndroid Build Coastguard Worker nh3000) 888*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-harris 889*2e9d4914SAndroid Build Coastguard Worker os=-cxux 890*2e9d4914SAndroid Build Coastguard Worker ;; 891*2e9d4914SAndroid Build Coastguard Worker nh[45]000) 892*2e9d4914SAndroid Build Coastguard Worker basic_machine=m88k-harris 893*2e9d4914SAndroid Build Coastguard Worker os=-cxux 894*2e9d4914SAndroid Build Coastguard Worker ;; 895*2e9d4914SAndroid Build Coastguard Worker nindy960) 896*2e9d4914SAndroid Build Coastguard Worker basic_machine=i960-intel 897*2e9d4914SAndroid Build Coastguard Worker os=-nindy 898*2e9d4914SAndroid Build Coastguard Worker ;; 899*2e9d4914SAndroid Build Coastguard Worker mon960) 900*2e9d4914SAndroid Build Coastguard Worker basic_machine=i960-intel 901*2e9d4914SAndroid Build Coastguard Worker os=-mon960 902*2e9d4914SAndroid Build Coastguard Worker ;; 903*2e9d4914SAndroid Build Coastguard Worker nonstopux) 904*2e9d4914SAndroid Build Coastguard Worker basic_machine=mips-compaq 905*2e9d4914SAndroid Build Coastguard Worker os=-nonstopux 906*2e9d4914SAndroid Build Coastguard Worker ;; 907*2e9d4914SAndroid Build Coastguard Worker np1) 908*2e9d4914SAndroid Build Coastguard Worker basic_machine=np1-gould 909*2e9d4914SAndroid Build Coastguard Worker ;; 910*2e9d4914SAndroid Build Coastguard Worker neo-tandem) 911*2e9d4914SAndroid Build Coastguard Worker basic_machine=neo-tandem 912*2e9d4914SAndroid Build Coastguard Worker ;; 913*2e9d4914SAndroid Build Coastguard Worker nse-tandem) 914*2e9d4914SAndroid Build Coastguard Worker basic_machine=nse-tandem 915*2e9d4914SAndroid Build Coastguard Worker ;; 916*2e9d4914SAndroid Build Coastguard Worker nsr-tandem) 917*2e9d4914SAndroid Build Coastguard Worker basic_machine=nsr-tandem 918*2e9d4914SAndroid Build Coastguard Worker ;; 919*2e9d4914SAndroid Build Coastguard Worker op50n-* | op60c-*) 920*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-oki 921*2e9d4914SAndroid Build Coastguard Worker os=-proelf 922*2e9d4914SAndroid Build Coastguard Worker ;; 923*2e9d4914SAndroid Build Coastguard Worker openrisc | openrisc-*) 924*2e9d4914SAndroid Build Coastguard Worker basic_machine=or32-unknown 925*2e9d4914SAndroid Build Coastguard Worker ;; 926*2e9d4914SAndroid Build Coastguard Worker os400) 927*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpc-ibm 928*2e9d4914SAndroid Build Coastguard Worker os=-os400 929*2e9d4914SAndroid Build Coastguard Worker ;; 930*2e9d4914SAndroid Build Coastguard Worker OSE68000 | ose68000) 931*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68000-ericsson 932*2e9d4914SAndroid Build Coastguard Worker os=-ose 933*2e9d4914SAndroid Build Coastguard Worker ;; 934*2e9d4914SAndroid Build Coastguard Worker os68k) 935*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-none 936*2e9d4914SAndroid Build Coastguard Worker os=-os68k 937*2e9d4914SAndroid Build Coastguard Worker ;; 938*2e9d4914SAndroid Build Coastguard Worker pa-hitachi) 939*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-hitachi 940*2e9d4914SAndroid Build Coastguard Worker os=-hiuxwe2 941*2e9d4914SAndroid Build Coastguard Worker ;; 942*2e9d4914SAndroid Build Coastguard Worker paragon) 943*2e9d4914SAndroid Build Coastguard Worker basic_machine=i860-intel 944*2e9d4914SAndroid Build Coastguard Worker os=-osf 945*2e9d4914SAndroid Build Coastguard Worker ;; 946*2e9d4914SAndroid Build Coastguard Worker parisc) 947*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa-unknown 948*2e9d4914SAndroid Build Coastguard Worker os=-linux 949*2e9d4914SAndroid Build Coastguard Worker ;; 950*2e9d4914SAndroid Build Coastguard Worker parisc-*) 951*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` 952*2e9d4914SAndroid Build Coastguard Worker os=-linux 953*2e9d4914SAndroid Build Coastguard Worker ;; 954*2e9d4914SAndroid Build Coastguard Worker pbd) 955*2e9d4914SAndroid Build Coastguard Worker basic_machine=sparc-tti 956*2e9d4914SAndroid Build Coastguard Worker ;; 957*2e9d4914SAndroid Build Coastguard Worker pbb) 958*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-tti 959*2e9d4914SAndroid Build Coastguard Worker ;; 960*2e9d4914SAndroid Build Coastguard Worker pc532 | pc532-*) 961*2e9d4914SAndroid Build Coastguard Worker basic_machine=ns32k-pc532 962*2e9d4914SAndroid Build Coastguard Worker ;; 963*2e9d4914SAndroid Build Coastguard Worker pc98) 964*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-pc 965*2e9d4914SAndroid Build Coastguard Worker ;; 966*2e9d4914SAndroid Build Coastguard Worker pc98-*) 967*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` 968*2e9d4914SAndroid Build Coastguard Worker ;; 969*2e9d4914SAndroid Build Coastguard Worker pentium | p5 | k5 | k6 | nexgen | viac3) 970*2e9d4914SAndroid Build Coastguard Worker basic_machine=i586-pc 971*2e9d4914SAndroid Build Coastguard Worker ;; 972*2e9d4914SAndroid Build Coastguard Worker pentiumpro | p6 | 6x86 | athlon | athlon_*) 973*2e9d4914SAndroid Build Coastguard Worker basic_machine=i686-pc 974*2e9d4914SAndroid Build Coastguard Worker ;; 975*2e9d4914SAndroid Build Coastguard Worker pentiumii | pentium2 | pentiumiii | pentium3) 976*2e9d4914SAndroid Build Coastguard Worker basic_machine=i686-pc 977*2e9d4914SAndroid Build Coastguard Worker ;; 978*2e9d4914SAndroid Build Coastguard Worker pentium4) 979*2e9d4914SAndroid Build Coastguard Worker basic_machine=i786-pc 980*2e9d4914SAndroid Build Coastguard Worker ;; 981*2e9d4914SAndroid Build Coastguard Worker pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) 982*2e9d4914SAndroid Build Coastguard Worker basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 983*2e9d4914SAndroid Build Coastguard Worker ;; 984*2e9d4914SAndroid Build Coastguard Worker pentiumpro-* | p6-* | 6x86-* | athlon-*) 985*2e9d4914SAndroid Build Coastguard Worker basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 986*2e9d4914SAndroid Build Coastguard Worker ;; 987*2e9d4914SAndroid Build Coastguard Worker pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) 988*2e9d4914SAndroid Build Coastguard Worker basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 989*2e9d4914SAndroid Build Coastguard Worker ;; 990*2e9d4914SAndroid Build Coastguard Worker pentium4-*) 991*2e9d4914SAndroid Build Coastguard Worker basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` 992*2e9d4914SAndroid Build Coastguard Worker ;; 993*2e9d4914SAndroid Build Coastguard Worker pn) 994*2e9d4914SAndroid Build Coastguard Worker basic_machine=pn-gould 995*2e9d4914SAndroid Build Coastguard Worker ;; 996*2e9d4914SAndroid Build Coastguard Worker power) basic_machine=power-ibm 997*2e9d4914SAndroid Build Coastguard Worker ;; 998*2e9d4914SAndroid Build Coastguard Worker ppc | ppcbe) basic_machine=powerpc-unknown 999*2e9d4914SAndroid Build Coastguard Worker ;; 1000*2e9d4914SAndroid Build Coastguard Worker ppc-* | ppcbe-*) 1001*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 1002*2e9d4914SAndroid Build Coastguard Worker ;; 1003*2e9d4914SAndroid Build Coastguard Worker ppcle | powerpclittle | ppc-le | powerpc-little) 1004*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpcle-unknown 1005*2e9d4914SAndroid Build Coastguard Worker ;; 1006*2e9d4914SAndroid Build Coastguard Worker ppcle-* | powerpclittle-*) 1007*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` 1008*2e9d4914SAndroid Build Coastguard Worker ;; 1009*2e9d4914SAndroid Build Coastguard Worker ppc64) basic_machine=powerpc64-unknown 1010*2e9d4914SAndroid Build Coastguard Worker ;; 1011*2e9d4914SAndroid Build Coastguard Worker ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` 1012*2e9d4914SAndroid Build Coastguard Worker ;; 1013*2e9d4914SAndroid Build Coastguard Worker ppc64le | powerpc64little | ppc64-le | powerpc64-little) 1014*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpc64le-unknown 1015*2e9d4914SAndroid Build Coastguard Worker ;; 1016*2e9d4914SAndroid Build Coastguard Worker ppc64le-* | powerpc64little-*) 1017*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` 1018*2e9d4914SAndroid Build Coastguard Worker ;; 1019*2e9d4914SAndroid Build Coastguard Worker ps2) 1020*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-ibm 1021*2e9d4914SAndroid Build Coastguard Worker ;; 1022*2e9d4914SAndroid Build Coastguard Worker pw32) 1023*2e9d4914SAndroid Build Coastguard Worker basic_machine=i586-unknown 1024*2e9d4914SAndroid Build Coastguard Worker os=-pw32 1025*2e9d4914SAndroid Build Coastguard Worker ;; 1026*2e9d4914SAndroid Build Coastguard Worker rdos | rdos64) 1027*2e9d4914SAndroid Build Coastguard Worker basic_machine=x86_64-pc 1028*2e9d4914SAndroid Build Coastguard Worker os=-rdos 1029*2e9d4914SAndroid Build Coastguard Worker ;; 1030*2e9d4914SAndroid Build Coastguard Worker rdos32) 1031*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-pc 1032*2e9d4914SAndroid Build Coastguard Worker os=-rdos 1033*2e9d4914SAndroid Build Coastguard Worker ;; 1034*2e9d4914SAndroid Build Coastguard Worker rom68k) 1035*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-rom68k 1036*2e9d4914SAndroid Build Coastguard Worker os=-coff 1037*2e9d4914SAndroid Build Coastguard Worker ;; 1038*2e9d4914SAndroid Build Coastguard Worker rm[46]00) 1039*2e9d4914SAndroid Build Coastguard Worker basic_machine=mips-siemens 1040*2e9d4914SAndroid Build Coastguard Worker ;; 1041*2e9d4914SAndroid Build Coastguard Worker rtpc | rtpc-*) 1042*2e9d4914SAndroid Build Coastguard Worker basic_machine=romp-ibm 1043*2e9d4914SAndroid Build Coastguard Worker ;; 1044*2e9d4914SAndroid Build Coastguard Worker s390 | s390-*) 1045*2e9d4914SAndroid Build Coastguard Worker basic_machine=s390-ibm 1046*2e9d4914SAndroid Build Coastguard Worker ;; 1047*2e9d4914SAndroid Build Coastguard Worker s390x | s390x-*) 1048*2e9d4914SAndroid Build Coastguard Worker basic_machine=s390x-ibm 1049*2e9d4914SAndroid Build Coastguard Worker ;; 1050*2e9d4914SAndroid Build Coastguard Worker sa29200) 1051*2e9d4914SAndroid Build Coastguard Worker basic_machine=a29k-amd 1052*2e9d4914SAndroid Build Coastguard Worker os=-udi 1053*2e9d4914SAndroid Build Coastguard Worker ;; 1054*2e9d4914SAndroid Build Coastguard Worker sb1) 1055*2e9d4914SAndroid Build Coastguard Worker basic_machine=mipsisa64sb1-unknown 1056*2e9d4914SAndroid Build Coastguard Worker ;; 1057*2e9d4914SAndroid Build Coastguard Worker sb1el) 1058*2e9d4914SAndroid Build Coastguard Worker basic_machine=mipsisa64sb1el-unknown 1059*2e9d4914SAndroid Build Coastguard Worker ;; 1060*2e9d4914SAndroid Build Coastguard Worker sde) 1061*2e9d4914SAndroid Build Coastguard Worker basic_machine=mipsisa32-sde 1062*2e9d4914SAndroid Build Coastguard Worker os=-elf 1063*2e9d4914SAndroid Build Coastguard Worker ;; 1064*2e9d4914SAndroid Build Coastguard Worker sei) 1065*2e9d4914SAndroid Build Coastguard Worker basic_machine=mips-sei 1066*2e9d4914SAndroid Build Coastguard Worker os=-seiux 1067*2e9d4914SAndroid Build Coastguard Worker ;; 1068*2e9d4914SAndroid Build Coastguard Worker sequent) 1069*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-sequent 1070*2e9d4914SAndroid Build Coastguard Worker ;; 1071*2e9d4914SAndroid Build Coastguard Worker sh) 1072*2e9d4914SAndroid Build Coastguard Worker basic_machine=sh-hitachi 1073*2e9d4914SAndroid Build Coastguard Worker os=-hms 1074*2e9d4914SAndroid Build Coastguard Worker ;; 1075*2e9d4914SAndroid Build Coastguard Worker sh5el) 1076*2e9d4914SAndroid Build Coastguard Worker basic_machine=sh5le-unknown 1077*2e9d4914SAndroid Build Coastguard Worker ;; 1078*2e9d4914SAndroid Build Coastguard Worker sh64) 1079*2e9d4914SAndroid Build Coastguard Worker basic_machine=sh64-unknown 1080*2e9d4914SAndroid Build Coastguard Worker ;; 1081*2e9d4914SAndroid Build Coastguard Worker sparclite-wrs | simso-wrs) 1082*2e9d4914SAndroid Build Coastguard Worker basic_machine=sparclite-wrs 1083*2e9d4914SAndroid Build Coastguard Worker os=-vxworks 1084*2e9d4914SAndroid Build Coastguard Worker ;; 1085*2e9d4914SAndroid Build Coastguard Worker sps7) 1086*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-bull 1087*2e9d4914SAndroid Build Coastguard Worker os=-sysv2 1088*2e9d4914SAndroid Build Coastguard Worker ;; 1089*2e9d4914SAndroid Build Coastguard Worker spur) 1090*2e9d4914SAndroid Build Coastguard Worker basic_machine=spur-unknown 1091*2e9d4914SAndroid Build Coastguard Worker ;; 1092*2e9d4914SAndroid Build Coastguard Worker st2000) 1093*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-tandem 1094*2e9d4914SAndroid Build Coastguard Worker ;; 1095*2e9d4914SAndroid Build Coastguard Worker stratus) 1096*2e9d4914SAndroid Build Coastguard Worker basic_machine=i860-stratus 1097*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 1098*2e9d4914SAndroid Build Coastguard Worker ;; 1099*2e9d4914SAndroid Build Coastguard Worker strongarm-* | thumb-*) 1100*2e9d4914SAndroid Build Coastguard Worker basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` 1101*2e9d4914SAndroid Build Coastguard Worker ;; 1102*2e9d4914SAndroid Build Coastguard Worker sun2) 1103*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68000-sun 1104*2e9d4914SAndroid Build Coastguard Worker ;; 1105*2e9d4914SAndroid Build Coastguard Worker sun2os3) 1106*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68000-sun 1107*2e9d4914SAndroid Build Coastguard Worker os=-sunos3 1108*2e9d4914SAndroid Build Coastguard Worker ;; 1109*2e9d4914SAndroid Build Coastguard Worker sun2os4) 1110*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68000-sun 1111*2e9d4914SAndroid Build Coastguard Worker os=-sunos4 1112*2e9d4914SAndroid Build Coastguard Worker ;; 1113*2e9d4914SAndroid Build Coastguard Worker sun3os3) 1114*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-sun 1115*2e9d4914SAndroid Build Coastguard Worker os=-sunos3 1116*2e9d4914SAndroid Build Coastguard Worker ;; 1117*2e9d4914SAndroid Build Coastguard Worker sun3os4) 1118*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-sun 1119*2e9d4914SAndroid Build Coastguard Worker os=-sunos4 1120*2e9d4914SAndroid Build Coastguard Worker ;; 1121*2e9d4914SAndroid Build Coastguard Worker sun4os3) 1122*2e9d4914SAndroid Build Coastguard Worker basic_machine=sparc-sun 1123*2e9d4914SAndroid Build Coastguard Worker os=-sunos3 1124*2e9d4914SAndroid Build Coastguard Worker ;; 1125*2e9d4914SAndroid Build Coastguard Worker sun4os4) 1126*2e9d4914SAndroid Build Coastguard Worker basic_machine=sparc-sun 1127*2e9d4914SAndroid Build Coastguard Worker os=-sunos4 1128*2e9d4914SAndroid Build Coastguard Worker ;; 1129*2e9d4914SAndroid Build Coastguard Worker sun4sol2) 1130*2e9d4914SAndroid Build Coastguard Worker basic_machine=sparc-sun 1131*2e9d4914SAndroid Build Coastguard Worker os=-solaris2 1132*2e9d4914SAndroid Build Coastguard Worker ;; 1133*2e9d4914SAndroid Build Coastguard Worker sun3 | sun3-*) 1134*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-sun 1135*2e9d4914SAndroid Build Coastguard Worker ;; 1136*2e9d4914SAndroid Build Coastguard Worker sun4) 1137*2e9d4914SAndroid Build Coastguard Worker basic_machine=sparc-sun 1138*2e9d4914SAndroid Build Coastguard Worker ;; 1139*2e9d4914SAndroid Build Coastguard Worker sun386 | sun386i | roadrunner) 1140*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-sun 1141*2e9d4914SAndroid Build Coastguard Worker ;; 1142*2e9d4914SAndroid Build Coastguard Worker sv1) 1143*2e9d4914SAndroid Build Coastguard Worker basic_machine=sv1-cray 1144*2e9d4914SAndroid Build Coastguard Worker os=-unicos 1145*2e9d4914SAndroid Build Coastguard Worker ;; 1146*2e9d4914SAndroid Build Coastguard Worker symmetry) 1147*2e9d4914SAndroid Build Coastguard Worker basic_machine=i386-sequent 1148*2e9d4914SAndroid Build Coastguard Worker os=-dynix 1149*2e9d4914SAndroid Build Coastguard Worker ;; 1150*2e9d4914SAndroid Build Coastguard Worker t3e) 1151*2e9d4914SAndroid Build Coastguard Worker basic_machine=alphaev5-cray 1152*2e9d4914SAndroid Build Coastguard Worker os=-unicos 1153*2e9d4914SAndroid Build Coastguard Worker ;; 1154*2e9d4914SAndroid Build Coastguard Worker t90) 1155*2e9d4914SAndroid Build Coastguard Worker basic_machine=t90-cray 1156*2e9d4914SAndroid Build Coastguard Worker os=-unicos 1157*2e9d4914SAndroid Build Coastguard Worker ;; 1158*2e9d4914SAndroid Build Coastguard Worker tile*) 1159*2e9d4914SAndroid Build Coastguard Worker basic_machine=$basic_machine-unknown 1160*2e9d4914SAndroid Build Coastguard Worker os=-linux-gnu 1161*2e9d4914SAndroid Build Coastguard Worker ;; 1162*2e9d4914SAndroid Build Coastguard Worker tx39) 1163*2e9d4914SAndroid Build Coastguard Worker basic_machine=mipstx39-unknown 1164*2e9d4914SAndroid Build Coastguard Worker ;; 1165*2e9d4914SAndroid Build Coastguard Worker tx39el) 1166*2e9d4914SAndroid Build Coastguard Worker basic_machine=mipstx39el-unknown 1167*2e9d4914SAndroid Build Coastguard Worker ;; 1168*2e9d4914SAndroid Build Coastguard Worker toad1) 1169*2e9d4914SAndroid Build Coastguard Worker basic_machine=pdp10-xkl 1170*2e9d4914SAndroid Build Coastguard Worker os=-tops20 1171*2e9d4914SAndroid Build Coastguard Worker ;; 1172*2e9d4914SAndroid Build Coastguard Worker tower | tower-32) 1173*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-ncr 1174*2e9d4914SAndroid Build Coastguard Worker ;; 1175*2e9d4914SAndroid Build Coastguard Worker tpf) 1176*2e9d4914SAndroid Build Coastguard Worker basic_machine=s390x-ibm 1177*2e9d4914SAndroid Build Coastguard Worker os=-tpf 1178*2e9d4914SAndroid Build Coastguard Worker ;; 1179*2e9d4914SAndroid Build Coastguard Worker udi29k) 1180*2e9d4914SAndroid Build Coastguard Worker basic_machine=a29k-amd 1181*2e9d4914SAndroid Build Coastguard Worker os=-udi 1182*2e9d4914SAndroid Build Coastguard Worker ;; 1183*2e9d4914SAndroid Build Coastguard Worker ultra3) 1184*2e9d4914SAndroid Build Coastguard Worker basic_machine=a29k-nyu 1185*2e9d4914SAndroid Build Coastguard Worker os=-sym1 1186*2e9d4914SAndroid Build Coastguard Worker ;; 1187*2e9d4914SAndroid Build Coastguard Worker v810 | necv810) 1188*2e9d4914SAndroid Build Coastguard Worker basic_machine=v810-nec 1189*2e9d4914SAndroid Build Coastguard Worker os=-none 1190*2e9d4914SAndroid Build Coastguard Worker ;; 1191*2e9d4914SAndroid Build Coastguard Worker vaxv) 1192*2e9d4914SAndroid Build Coastguard Worker basic_machine=vax-dec 1193*2e9d4914SAndroid Build Coastguard Worker os=-sysv 1194*2e9d4914SAndroid Build Coastguard Worker ;; 1195*2e9d4914SAndroid Build Coastguard Worker vms) 1196*2e9d4914SAndroid Build Coastguard Worker basic_machine=vax-dec 1197*2e9d4914SAndroid Build Coastguard Worker os=-vms 1198*2e9d4914SAndroid Build Coastguard Worker ;; 1199*2e9d4914SAndroid Build Coastguard Worker vpp*|vx|vx-*) 1200*2e9d4914SAndroid Build Coastguard Worker basic_machine=f301-fujitsu 1201*2e9d4914SAndroid Build Coastguard Worker ;; 1202*2e9d4914SAndroid Build Coastguard Worker vxworks960) 1203*2e9d4914SAndroid Build Coastguard Worker basic_machine=i960-wrs 1204*2e9d4914SAndroid Build Coastguard Worker os=-vxworks 1205*2e9d4914SAndroid Build Coastguard Worker ;; 1206*2e9d4914SAndroid Build Coastguard Worker vxworks68) 1207*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-wrs 1208*2e9d4914SAndroid Build Coastguard Worker os=-vxworks 1209*2e9d4914SAndroid Build Coastguard Worker ;; 1210*2e9d4914SAndroid Build Coastguard Worker vxworks29k) 1211*2e9d4914SAndroid Build Coastguard Worker basic_machine=a29k-wrs 1212*2e9d4914SAndroid Build Coastguard Worker os=-vxworks 1213*2e9d4914SAndroid Build Coastguard Worker ;; 1214*2e9d4914SAndroid Build Coastguard Worker w65*) 1215*2e9d4914SAndroid Build Coastguard Worker basic_machine=w65-wdc 1216*2e9d4914SAndroid Build Coastguard Worker os=-none 1217*2e9d4914SAndroid Build Coastguard Worker ;; 1218*2e9d4914SAndroid Build Coastguard Worker w89k-*) 1219*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-winbond 1220*2e9d4914SAndroid Build Coastguard Worker os=-proelf 1221*2e9d4914SAndroid Build Coastguard Worker ;; 1222*2e9d4914SAndroid Build Coastguard Worker xbox) 1223*2e9d4914SAndroid Build Coastguard Worker basic_machine=i686-pc 1224*2e9d4914SAndroid Build Coastguard Worker os=-mingw32 1225*2e9d4914SAndroid Build Coastguard Worker ;; 1226*2e9d4914SAndroid Build Coastguard Worker xps | xps100) 1227*2e9d4914SAndroid Build Coastguard Worker basic_machine=xps100-honeywell 1228*2e9d4914SAndroid Build Coastguard Worker ;; 1229*2e9d4914SAndroid Build Coastguard Worker xscale-* | xscalee[bl]-*) 1230*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` 1231*2e9d4914SAndroid Build Coastguard Worker ;; 1232*2e9d4914SAndroid Build Coastguard Worker ymp) 1233*2e9d4914SAndroid Build Coastguard Worker basic_machine=ymp-cray 1234*2e9d4914SAndroid Build Coastguard Worker os=-unicos 1235*2e9d4914SAndroid Build Coastguard Worker ;; 1236*2e9d4914SAndroid Build Coastguard Worker z8k-*-coff) 1237*2e9d4914SAndroid Build Coastguard Worker basic_machine=z8k-unknown 1238*2e9d4914SAndroid Build Coastguard Worker os=-sim 1239*2e9d4914SAndroid Build Coastguard Worker ;; 1240*2e9d4914SAndroid Build Coastguard Worker z80-*-coff) 1241*2e9d4914SAndroid Build Coastguard Worker basic_machine=z80-unknown 1242*2e9d4914SAndroid Build Coastguard Worker os=-sim 1243*2e9d4914SAndroid Build Coastguard Worker ;; 1244*2e9d4914SAndroid Build Coastguard Worker none) 1245*2e9d4914SAndroid Build Coastguard Worker basic_machine=none-none 1246*2e9d4914SAndroid Build Coastguard Worker os=-none 1247*2e9d4914SAndroid Build Coastguard Worker ;; 1248*2e9d4914SAndroid Build Coastguard Worker 1249*2e9d4914SAndroid Build Coastguard Worker# Here we handle the default manufacturer of certain CPU types. It is in 1250*2e9d4914SAndroid Build Coastguard Worker# some cases the only manufacturer, in others, it is the most popular. 1251*2e9d4914SAndroid Build Coastguard Worker w89k) 1252*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-winbond 1253*2e9d4914SAndroid Build Coastguard Worker ;; 1254*2e9d4914SAndroid Build Coastguard Worker op50n) 1255*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-oki 1256*2e9d4914SAndroid Build Coastguard Worker ;; 1257*2e9d4914SAndroid Build Coastguard Worker op60c) 1258*2e9d4914SAndroid Build Coastguard Worker basic_machine=hppa1.1-oki 1259*2e9d4914SAndroid Build Coastguard Worker ;; 1260*2e9d4914SAndroid Build Coastguard Worker romp) 1261*2e9d4914SAndroid Build Coastguard Worker basic_machine=romp-ibm 1262*2e9d4914SAndroid Build Coastguard Worker ;; 1263*2e9d4914SAndroid Build Coastguard Worker mmix) 1264*2e9d4914SAndroid Build Coastguard Worker basic_machine=mmix-knuth 1265*2e9d4914SAndroid Build Coastguard Worker ;; 1266*2e9d4914SAndroid Build Coastguard Worker rs6000) 1267*2e9d4914SAndroid Build Coastguard Worker basic_machine=rs6000-ibm 1268*2e9d4914SAndroid Build Coastguard Worker ;; 1269*2e9d4914SAndroid Build Coastguard Worker vax) 1270*2e9d4914SAndroid Build Coastguard Worker basic_machine=vax-dec 1271*2e9d4914SAndroid Build Coastguard Worker ;; 1272*2e9d4914SAndroid Build Coastguard Worker pdp10) 1273*2e9d4914SAndroid Build Coastguard Worker # there are many clones, so DEC is not a safe bet 1274*2e9d4914SAndroid Build Coastguard Worker basic_machine=pdp10-unknown 1275*2e9d4914SAndroid Build Coastguard Worker ;; 1276*2e9d4914SAndroid Build Coastguard Worker pdp11) 1277*2e9d4914SAndroid Build Coastguard Worker basic_machine=pdp11-dec 1278*2e9d4914SAndroid Build Coastguard Worker ;; 1279*2e9d4914SAndroid Build Coastguard Worker we32k) 1280*2e9d4914SAndroid Build Coastguard Worker basic_machine=we32k-att 1281*2e9d4914SAndroid Build Coastguard Worker ;; 1282*2e9d4914SAndroid Build Coastguard Worker sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) 1283*2e9d4914SAndroid Build Coastguard Worker basic_machine=sh-unknown 1284*2e9d4914SAndroid Build Coastguard Worker ;; 1285*2e9d4914SAndroid Build Coastguard Worker sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) 1286*2e9d4914SAndroid Build Coastguard Worker basic_machine=sparc-sun 1287*2e9d4914SAndroid Build Coastguard Worker ;; 1288*2e9d4914SAndroid Build Coastguard Worker cydra) 1289*2e9d4914SAndroid Build Coastguard Worker basic_machine=cydra-cydrome 1290*2e9d4914SAndroid Build Coastguard Worker ;; 1291*2e9d4914SAndroid Build Coastguard Worker orion) 1292*2e9d4914SAndroid Build Coastguard Worker basic_machine=orion-highlevel 1293*2e9d4914SAndroid Build Coastguard Worker ;; 1294*2e9d4914SAndroid Build Coastguard Worker orion105) 1295*2e9d4914SAndroid Build Coastguard Worker basic_machine=clipper-highlevel 1296*2e9d4914SAndroid Build Coastguard Worker ;; 1297*2e9d4914SAndroid Build Coastguard Worker mac | mpw | mac-mpw) 1298*2e9d4914SAndroid Build Coastguard Worker basic_machine=m68k-apple 1299*2e9d4914SAndroid Build Coastguard Worker ;; 1300*2e9d4914SAndroid Build Coastguard Worker pmac | pmac-mpw) 1301*2e9d4914SAndroid Build Coastguard Worker basic_machine=powerpc-apple 1302*2e9d4914SAndroid Build Coastguard Worker ;; 1303*2e9d4914SAndroid Build Coastguard Worker *-unknown) 1304*2e9d4914SAndroid Build Coastguard Worker # Make sure to match an already-canonicalized machine name. 1305*2e9d4914SAndroid Build Coastguard Worker ;; 1306*2e9d4914SAndroid Build Coastguard Worker *) 1307*2e9d4914SAndroid Build Coastguard Worker echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 1308*2e9d4914SAndroid Build Coastguard Worker exit 1 1309*2e9d4914SAndroid Build Coastguard Worker ;; 1310*2e9d4914SAndroid Build Coastguard Workeresac 1311*2e9d4914SAndroid Build Coastguard Worker 1312*2e9d4914SAndroid Build Coastguard Worker# Here we canonicalize certain aliases for manufacturers. 1313*2e9d4914SAndroid Build Coastguard Workercase $basic_machine in 1314*2e9d4914SAndroid Build Coastguard Worker *-digital*) 1315*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` 1316*2e9d4914SAndroid Build Coastguard Worker ;; 1317*2e9d4914SAndroid Build Coastguard Worker *-commodore*) 1318*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` 1319*2e9d4914SAndroid Build Coastguard Worker ;; 1320*2e9d4914SAndroid Build Coastguard Worker *) 1321*2e9d4914SAndroid Build Coastguard Worker ;; 1322*2e9d4914SAndroid Build Coastguard Workeresac 1323*2e9d4914SAndroid Build Coastguard Worker 1324*2e9d4914SAndroid Build Coastguard Worker# Decode manufacturer-specific aliases for certain operating systems. 1325*2e9d4914SAndroid Build Coastguard Worker 1326*2e9d4914SAndroid Build Coastguard Workerif [ x"$os" != x"" ] 1327*2e9d4914SAndroid Build Coastguard Workerthen 1328*2e9d4914SAndroid Build Coastguard Workercase $os in 1329*2e9d4914SAndroid Build Coastguard Worker # First match some system type aliases 1330*2e9d4914SAndroid Build Coastguard Worker # that might get confused with valid system types. 1331*2e9d4914SAndroid Build Coastguard Worker # -solaris* is a basic system type, with this one exception. 1332*2e9d4914SAndroid Build Coastguard Worker -auroraux) 1333*2e9d4914SAndroid Build Coastguard Worker os=-auroraux 1334*2e9d4914SAndroid Build Coastguard Worker ;; 1335*2e9d4914SAndroid Build Coastguard Worker -solaris1 | -solaris1.*) 1336*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's|solaris1|sunos4|'` 1337*2e9d4914SAndroid Build Coastguard Worker ;; 1338*2e9d4914SAndroid Build Coastguard Worker -solaris) 1339*2e9d4914SAndroid Build Coastguard Worker os=-solaris2 1340*2e9d4914SAndroid Build Coastguard Worker ;; 1341*2e9d4914SAndroid Build Coastguard Worker -svr4*) 1342*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 1343*2e9d4914SAndroid Build Coastguard Worker ;; 1344*2e9d4914SAndroid Build Coastguard Worker -unixware*) 1345*2e9d4914SAndroid Build Coastguard Worker os=-sysv4.2uw 1346*2e9d4914SAndroid Build Coastguard Worker ;; 1347*2e9d4914SAndroid Build Coastguard Worker -gnu/linux*) 1348*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` 1349*2e9d4914SAndroid Build Coastguard Worker ;; 1350*2e9d4914SAndroid Build Coastguard Worker # First accept the basic system types. 1351*2e9d4914SAndroid Build Coastguard Worker # The portable systems comes first. 1352*2e9d4914SAndroid Build Coastguard Worker # Each alternative MUST END IN A *, to match a version number. 1353*2e9d4914SAndroid Build Coastguard Worker # -sysv* is not here because it comes later, after sysvr4. 1354*2e9d4914SAndroid Build Coastguard Worker -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1355*2e9d4914SAndroid Build Coastguard Worker | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1356*2e9d4914SAndroid Build Coastguard Worker | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ 1357*2e9d4914SAndroid Build Coastguard Worker | -sym* | -kopensolaris* | -plan9* \ 1358*2e9d4914SAndroid Build Coastguard Worker | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1359*2e9d4914SAndroid Build Coastguard Worker | -aos* | -aros* \ 1360*2e9d4914SAndroid Build Coastguard Worker | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1361*2e9d4914SAndroid Build Coastguard Worker | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1362*2e9d4914SAndroid Build Coastguard Worker | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1363*2e9d4914SAndroid Build Coastguard Worker | -bitrig* | -openbsd* | -solidbsd* \ 1364*2e9d4914SAndroid Build Coastguard Worker | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1365*2e9d4914SAndroid Build Coastguard Worker | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1366*2e9d4914SAndroid Build Coastguard Worker | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1367*2e9d4914SAndroid Build Coastguard Worker | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1368*2e9d4914SAndroid Build Coastguard Worker | -chorusos* | -chorusrdb* | -cegcc* \ 1369*2e9d4914SAndroid Build Coastguard Worker | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1370*2e9d4914SAndroid Build Coastguard Worker | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ 1371*2e9d4914SAndroid Build Coastguard Worker | -linux-newlib* | -linux-musl* | -linux-uclibc* \ 1372*2e9d4914SAndroid Build Coastguard Worker | -uxpv* | -beos* | -mpeix* | -udk* \ 1373*2e9d4914SAndroid Build Coastguard Worker | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1374*2e9d4914SAndroid Build Coastguard Worker | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1375*2e9d4914SAndroid Build Coastguard Worker | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1376*2e9d4914SAndroid Build Coastguard Worker | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1377*2e9d4914SAndroid Build Coastguard Worker | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1378*2e9d4914SAndroid Build Coastguard Worker | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1379*2e9d4914SAndroid Build Coastguard Worker | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) 1380*2e9d4914SAndroid Build Coastguard Worker # Remember, each alternative MUST END IN *, to match a version number. 1381*2e9d4914SAndroid Build Coastguard Worker ;; 1382*2e9d4914SAndroid Build Coastguard Worker -qnx*) 1383*2e9d4914SAndroid Build Coastguard Worker case $basic_machine in 1384*2e9d4914SAndroid Build Coastguard Worker x86-* | i*86-*) 1385*2e9d4914SAndroid Build Coastguard Worker ;; 1386*2e9d4914SAndroid Build Coastguard Worker *) 1387*2e9d4914SAndroid Build Coastguard Worker os=-nto$os 1388*2e9d4914SAndroid Build Coastguard Worker ;; 1389*2e9d4914SAndroid Build Coastguard Worker esac 1390*2e9d4914SAndroid Build Coastguard Worker ;; 1391*2e9d4914SAndroid Build Coastguard Worker -nto-qnx*) 1392*2e9d4914SAndroid Build Coastguard Worker ;; 1393*2e9d4914SAndroid Build Coastguard Worker -nto*) 1394*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's|nto|nto-qnx|'` 1395*2e9d4914SAndroid Build Coastguard Worker ;; 1396*2e9d4914SAndroid Build Coastguard Worker -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 1397*2e9d4914SAndroid Build Coastguard Worker | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ 1398*2e9d4914SAndroid Build Coastguard Worker | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) 1399*2e9d4914SAndroid Build Coastguard Worker ;; 1400*2e9d4914SAndroid Build Coastguard Worker -mac*) 1401*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's|mac|macos|'` 1402*2e9d4914SAndroid Build Coastguard Worker ;; 1403*2e9d4914SAndroid Build Coastguard Worker -linux-dietlibc) 1404*2e9d4914SAndroid Build Coastguard Worker os=-linux-dietlibc 1405*2e9d4914SAndroid Build Coastguard Worker ;; 1406*2e9d4914SAndroid Build Coastguard Worker -linux*) 1407*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's|linux|linux-gnu|'` 1408*2e9d4914SAndroid Build Coastguard Worker ;; 1409*2e9d4914SAndroid Build Coastguard Worker -sunos5*) 1410*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's|sunos5|solaris2|'` 1411*2e9d4914SAndroid Build Coastguard Worker ;; 1412*2e9d4914SAndroid Build Coastguard Worker -sunos6*) 1413*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's|sunos6|solaris3|'` 1414*2e9d4914SAndroid Build Coastguard Worker ;; 1415*2e9d4914SAndroid Build Coastguard Worker -opened*) 1416*2e9d4914SAndroid Build Coastguard Worker os=-openedition 1417*2e9d4914SAndroid Build Coastguard Worker ;; 1418*2e9d4914SAndroid Build Coastguard Worker -os400*) 1419*2e9d4914SAndroid Build Coastguard Worker os=-os400 1420*2e9d4914SAndroid Build Coastguard Worker ;; 1421*2e9d4914SAndroid Build Coastguard Worker -wince*) 1422*2e9d4914SAndroid Build Coastguard Worker os=-wince 1423*2e9d4914SAndroid Build Coastguard Worker ;; 1424*2e9d4914SAndroid Build Coastguard Worker -osfrose*) 1425*2e9d4914SAndroid Build Coastguard Worker os=-osfrose 1426*2e9d4914SAndroid Build Coastguard Worker ;; 1427*2e9d4914SAndroid Build Coastguard Worker -osf*) 1428*2e9d4914SAndroid Build Coastguard Worker os=-osf 1429*2e9d4914SAndroid Build Coastguard Worker ;; 1430*2e9d4914SAndroid Build Coastguard Worker -utek*) 1431*2e9d4914SAndroid Build Coastguard Worker os=-bsd 1432*2e9d4914SAndroid Build Coastguard Worker ;; 1433*2e9d4914SAndroid Build Coastguard Worker -dynix*) 1434*2e9d4914SAndroid Build Coastguard Worker os=-bsd 1435*2e9d4914SAndroid Build Coastguard Worker ;; 1436*2e9d4914SAndroid Build Coastguard Worker -acis*) 1437*2e9d4914SAndroid Build Coastguard Worker os=-aos 1438*2e9d4914SAndroid Build Coastguard Worker ;; 1439*2e9d4914SAndroid Build Coastguard Worker -atheos*) 1440*2e9d4914SAndroid Build Coastguard Worker os=-atheos 1441*2e9d4914SAndroid Build Coastguard Worker ;; 1442*2e9d4914SAndroid Build Coastguard Worker -syllable*) 1443*2e9d4914SAndroid Build Coastguard Worker os=-syllable 1444*2e9d4914SAndroid Build Coastguard Worker ;; 1445*2e9d4914SAndroid Build Coastguard Worker -386bsd) 1446*2e9d4914SAndroid Build Coastguard Worker os=-bsd 1447*2e9d4914SAndroid Build Coastguard Worker ;; 1448*2e9d4914SAndroid Build Coastguard Worker -ctix* | -uts*) 1449*2e9d4914SAndroid Build Coastguard Worker os=-sysv 1450*2e9d4914SAndroid Build Coastguard Worker ;; 1451*2e9d4914SAndroid Build Coastguard Worker -nova*) 1452*2e9d4914SAndroid Build Coastguard Worker os=-rtmk-nova 1453*2e9d4914SAndroid Build Coastguard Worker ;; 1454*2e9d4914SAndroid Build Coastguard Worker -ns2 ) 1455*2e9d4914SAndroid Build Coastguard Worker os=-nextstep2 1456*2e9d4914SAndroid Build Coastguard Worker ;; 1457*2e9d4914SAndroid Build Coastguard Worker -nsk*) 1458*2e9d4914SAndroid Build Coastguard Worker os=-nsk 1459*2e9d4914SAndroid Build Coastguard Worker ;; 1460*2e9d4914SAndroid Build Coastguard Worker # Preserve the version number of sinix5. 1461*2e9d4914SAndroid Build Coastguard Worker -sinix5.*) 1462*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed -e 's|sinix|sysv|'` 1463*2e9d4914SAndroid Build Coastguard Worker ;; 1464*2e9d4914SAndroid Build Coastguard Worker -sinix*) 1465*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 1466*2e9d4914SAndroid Build Coastguard Worker ;; 1467*2e9d4914SAndroid Build Coastguard Worker -tpf*) 1468*2e9d4914SAndroid Build Coastguard Worker os=-tpf 1469*2e9d4914SAndroid Build Coastguard Worker ;; 1470*2e9d4914SAndroid Build Coastguard Worker -triton*) 1471*2e9d4914SAndroid Build Coastguard Worker os=-sysv3 1472*2e9d4914SAndroid Build Coastguard Worker ;; 1473*2e9d4914SAndroid Build Coastguard Worker -oss*) 1474*2e9d4914SAndroid Build Coastguard Worker os=-sysv3 1475*2e9d4914SAndroid Build Coastguard Worker ;; 1476*2e9d4914SAndroid Build Coastguard Worker -svr4) 1477*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 1478*2e9d4914SAndroid Build Coastguard Worker ;; 1479*2e9d4914SAndroid Build Coastguard Worker -svr3) 1480*2e9d4914SAndroid Build Coastguard Worker os=-sysv3 1481*2e9d4914SAndroid Build Coastguard Worker ;; 1482*2e9d4914SAndroid Build Coastguard Worker -sysvr4) 1483*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 1484*2e9d4914SAndroid Build Coastguard Worker ;; 1485*2e9d4914SAndroid Build Coastguard Worker # This must come after -sysvr4. 1486*2e9d4914SAndroid Build Coastguard Worker -sysv*) 1487*2e9d4914SAndroid Build Coastguard Worker ;; 1488*2e9d4914SAndroid Build Coastguard Worker -ose*) 1489*2e9d4914SAndroid Build Coastguard Worker os=-ose 1490*2e9d4914SAndroid Build Coastguard Worker ;; 1491*2e9d4914SAndroid Build Coastguard Worker -es1800*) 1492*2e9d4914SAndroid Build Coastguard Worker os=-ose 1493*2e9d4914SAndroid Build Coastguard Worker ;; 1494*2e9d4914SAndroid Build Coastguard Worker -xenix) 1495*2e9d4914SAndroid Build Coastguard Worker os=-xenix 1496*2e9d4914SAndroid Build Coastguard Worker ;; 1497*2e9d4914SAndroid Build Coastguard Worker -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1498*2e9d4914SAndroid Build Coastguard Worker os=-mint 1499*2e9d4914SAndroid Build Coastguard Worker ;; 1500*2e9d4914SAndroid Build Coastguard Worker -aros*) 1501*2e9d4914SAndroid Build Coastguard Worker os=-aros 1502*2e9d4914SAndroid Build Coastguard Worker ;; 1503*2e9d4914SAndroid Build Coastguard Worker -zvmoe) 1504*2e9d4914SAndroid Build Coastguard Worker os=-zvmoe 1505*2e9d4914SAndroid Build Coastguard Worker ;; 1506*2e9d4914SAndroid Build Coastguard Worker -dicos*) 1507*2e9d4914SAndroid Build Coastguard Worker os=-dicos 1508*2e9d4914SAndroid Build Coastguard Worker ;; 1509*2e9d4914SAndroid Build Coastguard Worker -nacl*) 1510*2e9d4914SAndroid Build Coastguard Worker ;; 1511*2e9d4914SAndroid Build Coastguard Worker -none) 1512*2e9d4914SAndroid Build Coastguard Worker ;; 1513*2e9d4914SAndroid Build Coastguard Worker *) 1514*2e9d4914SAndroid Build Coastguard Worker # Get rid of the `-' at the beginning of $os. 1515*2e9d4914SAndroid Build Coastguard Worker os=`echo $os | sed 's/[^-]*-//'` 1516*2e9d4914SAndroid Build Coastguard Worker echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 1517*2e9d4914SAndroid Build Coastguard Worker exit 1 1518*2e9d4914SAndroid Build Coastguard Worker ;; 1519*2e9d4914SAndroid Build Coastguard Workeresac 1520*2e9d4914SAndroid Build Coastguard Workerelse 1521*2e9d4914SAndroid Build Coastguard Worker 1522*2e9d4914SAndroid Build Coastguard Worker# Here we handle the default operating systems that come with various machines. 1523*2e9d4914SAndroid Build Coastguard Worker# The value should be what the vendor currently ships out the door with their 1524*2e9d4914SAndroid Build Coastguard Worker# machine or put another way, the most popular os provided with the machine. 1525*2e9d4914SAndroid Build Coastguard Worker 1526*2e9d4914SAndroid Build Coastguard Worker# Note that if you're going to try to match "-MANUFACTURER" here (say, 1527*2e9d4914SAndroid Build Coastguard Worker# "-sun"), then you have to tell the case statement up towards the top 1528*2e9d4914SAndroid Build Coastguard Worker# that MANUFACTURER isn't an operating system. Otherwise, code above 1529*2e9d4914SAndroid Build Coastguard Worker# will signal an error saying that MANUFACTURER isn't an operating 1530*2e9d4914SAndroid Build Coastguard Worker# system, and we'll never get to this point. 1531*2e9d4914SAndroid Build Coastguard Worker 1532*2e9d4914SAndroid Build Coastguard Workercase $basic_machine in 1533*2e9d4914SAndroid Build Coastguard Worker score-*) 1534*2e9d4914SAndroid Build Coastguard Worker os=-elf 1535*2e9d4914SAndroid Build Coastguard Worker ;; 1536*2e9d4914SAndroid Build Coastguard Worker spu-*) 1537*2e9d4914SAndroid Build Coastguard Worker os=-elf 1538*2e9d4914SAndroid Build Coastguard Worker ;; 1539*2e9d4914SAndroid Build Coastguard Worker *-acorn) 1540*2e9d4914SAndroid Build Coastguard Worker os=-riscix1.2 1541*2e9d4914SAndroid Build Coastguard Worker ;; 1542*2e9d4914SAndroid Build Coastguard Worker arm*-rebel) 1543*2e9d4914SAndroid Build Coastguard Worker os=-linux 1544*2e9d4914SAndroid Build Coastguard Worker ;; 1545*2e9d4914SAndroid Build Coastguard Worker arm*-semi) 1546*2e9d4914SAndroid Build Coastguard Worker os=-aout 1547*2e9d4914SAndroid Build Coastguard Worker ;; 1548*2e9d4914SAndroid Build Coastguard Worker c4x-* | tic4x-*) 1549*2e9d4914SAndroid Build Coastguard Worker os=-coff 1550*2e9d4914SAndroid Build Coastguard Worker ;; 1551*2e9d4914SAndroid Build Coastguard Worker c8051-*) 1552*2e9d4914SAndroid Build Coastguard Worker os=-elf 1553*2e9d4914SAndroid Build Coastguard Worker ;; 1554*2e9d4914SAndroid Build Coastguard Worker hexagon-*) 1555*2e9d4914SAndroid Build Coastguard Worker os=-elf 1556*2e9d4914SAndroid Build Coastguard Worker ;; 1557*2e9d4914SAndroid Build Coastguard Worker tic54x-*) 1558*2e9d4914SAndroid Build Coastguard Worker os=-coff 1559*2e9d4914SAndroid Build Coastguard Worker ;; 1560*2e9d4914SAndroid Build Coastguard Worker tic55x-*) 1561*2e9d4914SAndroid Build Coastguard Worker os=-coff 1562*2e9d4914SAndroid Build Coastguard Worker ;; 1563*2e9d4914SAndroid Build Coastguard Worker tic6x-*) 1564*2e9d4914SAndroid Build Coastguard Worker os=-coff 1565*2e9d4914SAndroid Build Coastguard Worker ;; 1566*2e9d4914SAndroid Build Coastguard Worker # This must come before the *-dec entry. 1567*2e9d4914SAndroid Build Coastguard Worker pdp10-*) 1568*2e9d4914SAndroid Build Coastguard Worker os=-tops20 1569*2e9d4914SAndroid Build Coastguard Worker ;; 1570*2e9d4914SAndroid Build Coastguard Worker pdp11-*) 1571*2e9d4914SAndroid Build Coastguard Worker os=-none 1572*2e9d4914SAndroid Build Coastguard Worker ;; 1573*2e9d4914SAndroid Build Coastguard Worker *-dec | vax-*) 1574*2e9d4914SAndroid Build Coastguard Worker os=-ultrix4.2 1575*2e9d4914SAndroid Build Coastguard Worker ;; 1576*2e9d4914SAndroid Build Coastguard Worker m68*-apollo) 1577*2e9d4914SAndroid Build Coastguard Worker os=-domain 1578*2e9d4914SAndroid Build Coastguard Worker ;; 1579*2e9d4914SAndroid Build Coastguard Worker i386-sun) 1580*2e9d4914SAndroid Build Coastguard Worker os=-sunos4.0.2 1581*2e9d4914SAndroid Build Coastguard Worker ;; 1582*2e9d4914SAndroid Build Coastguard Worker m68000-sun) 1583*2e9d4914SAndroid Build Coastguard Worker os=-sunos3 1584*2e9d4914SAndroid Build Coastguard Worker ;; 1585*2e9d4914SAndroid Build Coastguard Worker m68*-cisco) 1586*2e9d4914SAndroid Build Coastguard Worker os=-aout 1587*2e9d4914SAndroid Build Coastguard Worker ;; 1588*2e9d4914SAndroid Build Coastguard Worker mep-*) 1589*2e9d4914SAndroid Build Coastguard Worker os=-elf 1590*2e9d4914SAndroid Build Coastguard Worker ;; 1591*2e9d4914SAndroid Build Coastguard Worker mips*-cisco) 1592*2e9d4914SAndroid Build Coastguard Worker os=-elf 1593*2e9d4914SAndroid Build Coastguard Worker ;; 1594*2e9d4914SAndroid Build Coastguard Worker mips*-*) 1595*2e9d4914SAndroid Build Coastguard Worker os=-elf 1596*2e9d4914SAndroid Build Coastguard Worker ;; 1597*2e9d4914SAndroid Build Coastguard Worker or1k-*) 1598*2e9d4914SAndroid Build Coastguard Worker os=-elf 1599*2e9d4914SAndroid Build Coastguard Worker ;; 1600*2e9d4914SAndroid Build Coastguard Worker or32-*) 1601*2e9d4914SAndroid Build Coastguard Worker os=-coff 1602*2e9d4914SAndroid Build Coastguard Worker ;; 1603*2e9d4914SAndroid Build Coastguard Worker *-tti) # must be before sparc entry or we get the wrong os. 1604*2e9d4914SAndroid Build Coastguard Worker os=-sysv3 1605*2e9d4914SAndroid Build Coastguard Worker ;; 1606*2e9d4914SAndroid Build Coastguard Worker sparc-* | *-sun) 1607*2e9d4914SAndroid Build Coastguard Worker os=-sunos4.1.1 1608*2e9d4914SAndroid Build Coastguard Worker ;; 1609*2e9d4914SAndroid Build Coastguard Worker *-be) 1610*2e9d4914SAndroid Build Coastguard Worker os=-beos 1611*2e9d4914SAndroid Build Coastguard Worker ;; 1612*2e9d4914SAndroid Build Coastguard Worker *-haiku) 1613*2e9d4914SAndroid Build Coastguard Worker os=-haiku 1614*2e9d4914SAndroid Build Coastguard Worker ;; 1615*2e9d4914SAndroid Build Coastguard Worker *-ibm) 1616*2e9d4914SAndroid Build Coastguard Worker os=-aix 1617*2e9d4914SAndroid Build Coastguard Worker ;; 1618*2e9d4914SAndroid Build Coastguard Worker *-knuth) 1619*2e9d4914SAndroid Build Coastguard Worker os=-mmixware 1620*2e9d4914SAndroid Build Coastguard Worker ;; 1621*2e9d4914SAndroid Build Coastguard Worker *-wec) 1622*2e9d4914SAndroid Build Coastguard Worker os=-proelf 1623*2e9d4914SAndroid Build Coastguard Worker ;; 1624*2e9d4914SAndroid Build Coastguard Worker *-winbond) 1625*2e9d4914SAndroid Build Coastguard Worker os=-proelf 1626*2e9d4914SAndroid Build Coastguard Worker ;; 1627*2e9d4914SAndroid Build Coastguard Worker *-oki) 1628*2e9d4914SAndroid Build Coastguard Worker os=-proelf 1629*2e9d4914SAndroid Build Coastguard Worker ;; 1630*2e9d4914SAndroid Build Coastguard Worker *-hp) 1631*2e9d4914SAndroid Build Coastguard Worker os=-hpux 1632*2e9d4914SAndroid Build Coastguard Worker ;; 1633*2e9d4914SAndroid Build Coastguard Worker *-hitachi) 1634*2e9d4914SAndroid Build Coastguard Worker os=-hiux 1635*2e9d4914SAndroid Build Coastguard Worker ;; 1636*2e9d4914SAndroid Build Coastguard Worker i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) 1637*2e9d4914SAndroid Build Coastguard Worker os=-sysv 1638*2e9d4914SAndroid Build Coastguard Worker ;; 1639*2e9d4914SAndroid Build Coastguard Worker *-cbm) 1640*2e9d4914SAndroid Build Coastguard Worker os=-amigaos 1641*2e9d4914SAndroid Build Coastguard Worker ;; 1642*2e9d4914SAndroid Build Coastguard Worker *-dg) 1643*2e9d4914SAndroid Build Coastguard Worker os=-dgux 1644*2e9d4914SAndroid Build Coastguard Worker ;; 1645*2e9d4914SAndroid Build Coastguard Worker *-dolphin) 1646*2e9d4914SAndroid Build Coastguard Worker os=-sysv3 1647*2e9d4914SAndroid Build Coastguard Worker ;; 1648*2e9d4914SAndroid Build Coastguard Worker m68k-ccur) 1649*2e9d4914SAndroid Build Coastguard Worker os=-rtu 1650*2e9d4914SAndroid Build Coastguard Worker ;; 1651*2e9d4914SAndroid Build Coastguard Worker m88k-omron*) 1652*2e9d4914SAndroid Build Coastguard Worker os=-luna 1653*2e9d4914SAndroid Build Coastguard Worker ;; 1654*2e9d4914SAndroid Build Coastguard Worker *-next ) 1655*2e9d4914SAndroid Build Coastguard Worker os=-nextstep 1656*2e9d4914SAndroid Build Coastguard Worker ;; 1657*2e9d4914SAndroid Build Coastguard Worker *-sequent) 1658*2e9d4914SAndroid Build Coastguard Worker os=-ptx 1659*2e9d4914SAndroid Build Coastguard Worker ;; 1660*2e9d4914SAndroid Build Coastguard Worker *-crds) 1661*2e9d4914SAndroid Build Coastguard Worker os=-unos 1662*2e9d4914SAndroid Build Coastguard Worker ;; 1663*2e9d4914SAndroid Build Coastguard Worker *-ns) 1664*2e9d4914SAndroid Build Coastguard Worker os=-genix 1665*2e9d4914SAndroid Build Coastguard Worker ;; 1666*2e9d4914SAndroid Build Coastguard Worker i370-*) 1667*2e9d4914SAndroid Build Coastguard Worker os=-mvs 1668*2e9d4914SAndroid Build Coastguard Worker ;; 1669*2e9d4914SAndroid Build Coastguard Worker *-next) 1670*2e9d4914SAndroid Build Coastguard Worker os=-nextstep3 1671*2e9d4914SAndroid Build Coastguard Worker ;; 1672*2e9d4914SAndroid Build Coastguard Worker *-gould) 1673*2e9d4914SAndroid Build Coastguard Worker os=-sysv 1674*2e9d4914SAndroid Build Coastguard Worker ;; 1675*2e9d4914SAndroid Build Coastguard Worker *-highlevel) 1676*2e9d4914SAndroid Build Coastguard Worker os=-bsd 1677*2e9d4914SAndroid Build Coastguard Worker ;; 1678*2e9d4914SAndroid Build Coastguard Worker *-encore) 1679*2e9d4914SAndroid Build Coastguard Worker os=-bsd 1680*2e9d4914SAndroid Build Coastguard Worker ;; 1681*2e9d4914SAndroid Build Coastguard Worker *-sgi) 1682*2e9d4914SAndroid Build Coastguard Worker os=-irix 1683*2e9d4914SAndroid Build Coastguard Worker ;; 1684*2e9d4914SAndroid Build Coastguard Worker *-siemens) 1685*2e9d4914SAndroid Build Coastguard Worker os=-sysv4 1686*2e9d4914SAndroid Build Coastguard Worker ;; 1687*2e9d4914SAndroid Build Coastguard Worker *-masscomp) 1688*2e9d4914SAndroid Build Coastguard Worker os=-rtu 1689*2e9d4914SAndroid Build Coastguard Worker ;; 1690*2e9d4914SAndroid Build Coastguard Worker f30[01]-fujitsu | f700-fujitsu) 1691*2e9d4914SAndroid Build Coastguard Worker os=-uxpv 1692*2e9d4914SAndroid Build Coastguard Worker ;; 1693*2e9d4914SAndroid Build Coastguard Worker *-rom68k) 1694*2e9d4914SAndroid Build Coastguard Worker os=-coff 1695*2e9d4914SAndroid Build Coastguard Worker ;; 1696*2e9d4914SAndroid Build Coastguard Worker *-*bug) 1697*2e9d4914SAndroid Build Coastguard Worker os=-coff 1698*2e9d4914SAndroid Build Coastguard Worker ;; 1699*2e9d4914SAndroid Build Coastguard Worker *-apple) 1700*2e9d4914SAndroid Build Coastguard Worker os=-macos 1701*2e9d4914SAndroid Build Coastguard Worker ;; 1702*2e9d4914SAndroid Build Coastguard Worker *-atari*) 1703*2e9d4914SAndroid Build Coastguard Worker os=-mint 1704*2e9d4914SAndroid Build Coastguard Worker ;; 1705*2e9d4914SAndroid Build Coastguard Worker *) 1706*2e9d4914SAndroid Build Coastguard Worker os=-none 1707*2e9d4914SAndroid Build Coastguard Worker ;; 1708*2e9d4914SAndroid Build Coastguard Workeresac 1709*2e9d4914SAndroid Build Coastguard Workerfi 1710*2e9d4914SAndroid Build Coastguard Worker 1711*2e9d4914SAndroid Build Coastguard Worker# Here we handle the case where we know the os, and the CPU type, but not the 1712*2e9d4914SAndroid Build Coastguard Worker# manufacturer. We pick the logical manufacturer. 1713*2e9d4914SAndroid Build Coastguard Workervendor=unknown 1714*2e9d4914SAndroid Build Coastguard Workercase $basic_machine in 1715*2e9d4914SAndroid Build Coastguard Worker *-unknown) 1716*2e9d4914SAndroid Build Coastguard Worker case $os in 1717*2e9d4914SAndroid Build Coastguard Worker -riscix*) 1718*2e9d4914SAndroid Build Coastguard Worker vendor=acorn 1719*2e9d4914SAndroid Build Coastguard Worker ;; 1720*2e9d4914SAndroid Build Coastguard Worker -sunos*) 1721*2e9d4914SAndroid Build Coastguard Worker vendor=sun 1722*2e9d4914SAndroid Build Coastguard Worker ;; 1723*2e9d4914SAndroid Build Coastguard Worker -cnk*|-aix*) 1724*2e9d4914SAndroid Build Coastguard Worker vendor=ibm 1725*2e9d4914SAndroid Build Coastguard Worker ;; 1726*2e9d4914SAndroid Build Coastguard Worker -beos*) 1727*2e9d4914SAndroid Build Coastguard Worker vendor=be 1728*2e9d4914SAndroid Build Coastguard Worker ;; 1729*2e9d4914SAndroid Build Coastguard Worker -hpux*) 1730*2e9d4914SAndroid Build Coastguard Worker vendor=hp 1731*2e9d4914SAndroid Build Coastguard Worker ;; 1732*2e9d4914SAndroid Build Coastguard Worker -mpeix*) 1733*2e9d4914SAndroid Build Coastguard Worker vendor=hp 1734*2e9d4914SAndroid Build Coastguard Worker ;; 1735*2e9d4914SAndroid Build Coastguard Worker -hiux*) 1736*2e9d4914SAndroid Build Coastguard Worker vendor=hitachi 1737*2e9d4914SAndroid Build Coastguard Worker ;; 1738*2e9d4914SAndroid Build Coastguard Worker -unos*) 1739*2e9d4914SAndroid Build Coastguard Worker vendor=crds 1740*2e9d4914SAndroid Build Coastguard Worker ;; 1741*2e9d4914SAndroid Build Coastguard Worker -dgux*) 1742*2e9d4914SAndroid Build Coastguard Worker vendor=dg 1743*2e9d4914SAndroid Build Coastguard Worker ;; 1744*2e9d4914SAndroid Build Coastguard Worker -luna*) 1745*2e9d4914SAndroid Build Coastguard Worker vendor=omron 1746*2e9d4914SAndroid Build Coastguard Worker ;; 1747*2e9d4914SAndroid Build Coastguard Worker -genix*) 1748*2e9d4914SAndroid Build Coastguard Worker vendor=ns 1749*2e9d4914SAndroid Build Coastguard Worker ;; 1750*2e9d4914SAndroid Build Coastguard Worker -mvs* | -opened*) 1751*2e9d4914SAndroid Build Coastguard Worker vendor=ibm 1752*2e9d4914SAndroid Build Coastguard Worker ;; 1753*2e9d4914SAndroid Build Coastguard Worker -os400*) 1754*2e9d4914SAndroid Build Coastguard Worker vendor=ibm 1755*2e9d4914SAndroid Build Coastguard Worker ;; 1756*2e9d4914SAndroid Build Coastguard Worker -ptx*) 1757*2e9d4914SAndroid Build Coastguard Worker vendor=sequent 1758*2e9d4914SAndroid Build Coastguard Worker ;; 1759*2e9d4914SAndroid Build Coastguard Worker -tpf*) 1760*2e9d4914SAndroid Build Coastguard Worker vendor=ibm 1761*2e9d4914SAndroid Build Coastguard Worker ;; 1762*2e9d4914SAndroid Build Coastguard Worker -vxsim* | -vxworks* | -windiss*) 1763*2e9d4914SAndroid Build Coastguard Worker vendor=wrs 1764*2e9d4914SAndroid Build Coastguard Worker ;; 1765*2e9d4914SAndroid Build Coastguard Worker -aux*) 1766*2e9d4914SAndroid Build Coastguard Worker vendor=apple 1767*2e9d4914SAndroid Build Coastguard Worker ;; 1768*2e9d4914SAndroid Build Coastguard Worker -hms*) 1769*2e9d4914SAndroid Build Coastguard Worker vendor=hitachi 1770*2e9d4914SAndroid Build Coastguard Worker ;; 1771*2e9d4914SAndroid Build Coastguard Worker -mpw* | -macos*) 1772*2e9d4914SAndroid Build Coastguard Worker vendor=apple 1773*2e9d4914SAndroid Build Coastguard Worker ;; 1774*2e9d4914SAndroid Build Coastguard Worker -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1775*2e9d4914SAndroid Build Coastguard Worker vendor=atari 1776*2e9d4914SAndroid Build Coastguard Worker ;; 1777*2e9d4914SAndroid Build Coastguard Worker -vos*) 1778*2e9d4914SAndroid Build Coastguard Worker vendor=stratus 1779*2e9d4914SAndroid Build Coastguard Worker ;; 1780*2e9d4914SAndroid Build Coastguard Worker esac 1781*2e9d4914SAndroid Build Coastguard Worker basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` 1782*2e9d4914SAndroid Build Coastguard Worker ;; 1783*2e9d4914SAndroid Build Coastguard Workeresac 1784*2e9d4914SAndroid Build Coastguard Worker 1785*2e9d4914SAndroid Build Coastguard Workerecho $basic_machine$os 1786*2e9d4914SAndroid Build Coastguard Workerexit 1787*2e9d4914SAndroid Build Coastguard Worker 1788*2e9d4914SAndroid Build Coastguard Worker# Local variables: 1789*2e9d4914SAndroid Build Coastguard Worker# eval: (add-hook 'write-file-hooks 'time-stamp) 1790*2e9d4914SAndroid Build Coastguard Worker# time-stamp-start: "timestamp='" 1791*2e9d4914SAndroid Build Coastguard Worker# time-stamp-format: "%:y-%02m-%02d" 1792*2e9d4914SAndroid Build Coastguard Worker# time-stamp-end: "'" 1793*2e9d4914SAndroid Build Coastguard Worker# End: 1794