2005-09-15 09:58:31 -04:00
|
|
|
#! /bin/sh
|
|
|
|
# Configuration validation subroutine script.
|
2022-08-02 08:10:55 -04:00
|
|
|
# Copyright 1992-2021 Free Software Foundation, Inc.
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2022-08-02 08:10:55 -04:00
|
|
|
timestamp='2021-01-08'
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2022-05-23 19:05:53 -04:00
|
|
|
# This file is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
2005-09-15 09:58:31 -04:00
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
2022-05-23 19:05:53 -04:00
|
|
|
# This program is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# General Public License for more details.
|
2005-09-15 09:58:31 -04:00
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2022-05-23 19:05:53 -04:00
|
|
|
# along with this program; if not, see <https://www.gnu.org/licenses/>.
|
2005-11-29 19:27:24 -05:00
|
|
|
#
|
2005-09-15 09:58:31 -04:00
|
|
|
# As a special exception to the GNU General Public License, if you
|
|
|
|
# distribute this file as part of a program that contains a
|
|
|
|
# configuration script generated by Autoconf, you may include it under
|
2022-05-23 19:05:53 -04:00
|
|
|
# the same distribution terms that you use for the rest of that
|
|
|
|
# program. This Exception is an additional permission under section 7
|
|
|
|
# of the GNU General Public License, version 3 ("GPLv3").
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2005-11-29 19:27:24 -05:00
|
|
|
|
2022-05-23 19:05:53 -04:00
|
|
|
# Please send patches to <config-patches@gnu.org>.
|
2005-09-15 09:58:31 -04:00
|
|
|
#
|
|
|
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
|
|
|
# Supply the specified configuration type as an argument.
|
|
|
|
# If it is invalid, we print an error message on stderr and exit with code 1.
|
|
|
|
# Otherwise, we print the canonical config type on stdout and succeed.
|
|
|
|
|
2022-05-23 19:05:53 -04:00
|
|
|
# You can get the latest version of this script from:
|
2022-08-02 08:10:55 -04:00
|
|
|
# https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
2022-05-23 19:05:53 -04:00
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
# This file is supposed to be the same for all GNU packages
|
|
|
|
# and recognize all the CPU types, system types and aliases
|
|
|
|
# that are meaningful with *any* GNU software.
|
|
|
|
# Each package is responsible for reporting which valid configurations
|
|
|
|
# it does not support. The user should be able to distinguish
|
|
|
|
# a failure to support a valid configuration from a meaningless
|
|
|
|
# configuration.
|
|
|
|
|
|
|
|
# The goal of this file is to map all the various variations of a given
|
|
|
|
# machine specification into a single specification in the form:
|
|
|
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
|
|
|
|
# or in some cases, the newer four-part form:
|
|
|
|
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
|
|
|
# It is wrong to echo any other type of specification.
|
|
|
|
|
2022-08-02 08:10:55 -04:00
|
|
|
me=$(echo "$0" | sed -e 's,.*/,,')
|
2005-09-15 09:58:31 -04:00
|
|
|
|
|
|
|
usage="\
|
2022-05-23 19:05:53 -04:00
|
|
|
Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
|
2005-09-15 09:58:31 -04:00
|
|
|
|
|
|
|
Canonicalize a configuration name.
|
|
|
|
|
2022-05-23 19:05:53 -04:00
|
|
|
Options:
|
2005-09-15 09:58:31 -04:00
|
|
|
-h, --help print this help, then exit
|
|
|
|
-t, --time-stamp print date of last modification, then exit
|
|
|
|
-v, --version print version number, then exit
|
|
|
|
|
|
|
|
Report bugs and patches to <config-patches@gnu.org>."
|
|
|
|
|
|
|
|
version="\
|
|
|
|
GNU config.sub ($timestamp)
|
|
|
|
|
2022-08-02 08:10:55 -04:00
|
|
|
Copyright 1992-2021 Free Software Foundation, Inc.
|
2005-09-15 09:58:31 -04:00
|
|
|
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
|
|
|
|
|
|
help="
|
|
|
|
Try \`$me --help' for more information."
|
|
|
|
|
|
|
|
# Parse command line
|
|
|
|
while test $# -gt 0 ; do
|
|
|
|
case $1 in
|
|
|
|
--time-stamp | --time* | -t )
|
2005-11-29 19:27:24 -05:00
|
|
|
echo "$timestamp" ; exit ;;
|
2005-09-15 09:58:31 -04:00
|
|
|
--version | -v )
|
2005-11-29 19:27:24 -05:00
|
|
|
echo "$version" ; exit ;;
|
2005-09-15 09:58:31 -04:00
|
|
|
--help | --h* | -h )
|
2005-11-29 19:27:24 -05:00
|
|
|
echo "$usage"; exit ;;
|
2005-09-15 09:58:31 -04:00
|
|
|
-- ) # Stop option processing
|
|
|
|
shift; break ;;
|
|
|
|
- ) # Use stdin as input.
|
|
|
|
break ;;
|
|
|
|
-* )
|
2022-08-02 08:10:55 -04:00
|
|
|
echo "$me: invalid option $1$help" >&2
|
2005-09-15 09:58:31 -04:00
|
|
|
exit 1 ;;
|
|
|
|
|
|
|
|
*local*)
|
|
|
|
# First pass through any local machine types.
|
2022-05-23 19:05:53 -04:00
|
|
|
echo "$1"
|
2005-11-29 19:27:24 -05:00
|
|
|
exit ;;
|
2005-09-15 09:58:31 -04:00
|
|
|
|
|
|
|
* )
|
|
|
|
break ;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
case $# in
|
|
|
|
0) echo "$me: missing argument$help" >&2
|
|
|
|
exit 1;;
|
|
|
|
1) ;;
|
|
|
|
*) echo "$me: too many arguments$help" >&2
|
|
|
|
exit 1;;
|
|
|
|
esac
|
|
|
|
|
2022-08-02 08:10:55 -04:00
|
|
|
# Split fields of configuration type
|
|
|
|
# shellcheck disable=SC2162
|
|
|
|
IFS="-" read field1 field2 field3 field4 <<EOF
|
|
|
|
$1
|
|
|
|
EOF
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2022-08-02 08:10:55 -04:00
|
|
|
# Separate into logical components for further validation
|
|
|
|
case $1 in
|
|
|
|
*-*-*-*-*)
|
|
|
|
echo Invalid configuration \`"$1"\': more than four components >&2
|
|
|
|
exit 1
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
*-*-*-*)
|
|
|
|
basic_machine=$field1-$field2
|
|
|
|
basic_os=$field3-$field4
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
*-*-*)
|
|
|
|
# Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
|
|
|
|
# parts
|
|
|
|
maybe_os=$field2-$field3
|
|
|
|
case $maybe_os in
|
|
|
|
nto-qnx* | linux-* | uclinux-uclibc* \
|
|
|
|
| uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
|
|
|
|
| netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
|
|
|
|
| storm-chaos* | os2-emx* | rtmk-nova*)
|
|
|
|
basic_machine=$field1
|
|
|
|
basic_os=$maybe_os
|
|
|
|
;;
|
|
|
|
android-linux)
|
|
|
|
basic_machine=$field1-unknown
|
|
|
|
basic_os=linux-android
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
basic_machine=$field1-$field2
|
|
|
|
basic_os=$field3
|
|
|
|
;;
|
|
|
|
esac
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
*-*)
|
|
|
|
# A lone config we happen to match not fitting any pattern
|
|
|
|
case $field1-$field2 in
|
|
|
|
decstation-3100)
|
|
|
|
basic_machine=mips-dec
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
*-*)
|
|
|
|
# Second component is usually, but not always the OS
|
|
|
|
case $field2 in
|
|
|
|
# Prevent following clause from handling this valid os
|
|
|
|
sun*os*)
|
|
|
|
basic_machine=$field1
|
|
|
|
basic_os=$field2
|
|
|
|
;;
|
|
|
|
# Manufacturers
|
|
|
|
dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
|
|
|
|
| att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
|
|
|
|
| unicom* | ibm* | next | hp | isi* | apollo | altos* \
|
|
|
|
| convergent* | ncr* | news | 32* | 3600* | 3100* \
|
|
|
|
| hitachi* | c[123]* | convex* | sun | crds | omron* | dg \
|
|
|
|
| ultra | tti* | harris | dolphin | highlevel | gould \
|
|
|
|
| cbm | ns | masscomp | apple | axis | knuth | cray \
|
|
|
|
| microblaze* | sim | cisco \
|
|
|
|
| oki | wec | wrs | winbond)
|
|
|
|
basic_machine=$field1-$field2
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
basic_machine=$field1
|
|
|
|
basic_os=$field2
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
esac
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
*)
|
|
|
|
# Convert single-component short-hands not valid as part of
|
|
|
|
# multi-component configurations.
|
|
|
|
case $field1 in
|
|
|
|
386bsd)
|
|
|
|
basic_machine=i386-pc
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
a29khif)
|
|
|
|
basic_machine=a29k-amd
|
|
|
|
basic_os=udi
|
|
|
|
;;
|
|
|
|
adobe68k)
|
|
|
|
basic_machine=m68010-adobe
|
|
|
|
basic_os=scout
|
|
|
|
;;
|
|
|
|
alliant)
|
|
|
|
basic_machine=fx80-alliant
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
altos | altos3068)
|
|
|
|
basic_machine=m68k-altos
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
am29k)
|
|
|
|
basic_machine=a29k-none
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
amdahl)
|
|
|
|
basic_machine=580-amdahl
|
|
|
|
basic_os=sysv
|
|
|
|
;;
|
|
|
|
amiga)
|
|
|
|
basic_machine=m68k-unknown
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
amigaos | amigados)
|
|
|
|
basic_machine=m68k-unknown
|
|
|
|
basic_os=amigaos
|
|
|
|
;;
|
|
|
|
amigaunix | amix)
|
|
|
|
basic_machine=m68k-unknown
|
|
|
|
basic_os=sysv4
|
|
|
|
;;
|
|
|
|
apollo68)
|
|
|
|
basic_machine=m68k-apollo
|
|
|
|
basic_os=sysv
|
|
|
|
;;
|
|
|
|
apollo68bsd)
|
|
|
|
basic_machine=m68k-apollo
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
aros)
|
|
|
|
basic_machine=i386-pc
|
|
|
|
basic_os=aros
|
|
|
|
;;
|
|
|
|
aux)
|
|
|
|
basic_machine=m68k-apple
|
|
|
|
basic_os=aux
|
|
|
|
;;
|
|
|
|
balance)
|
|
|
|
basic_machine=ns32k-sequent
|
|
|
|
basic_os=dynix
|
|
|
|
;;
|
|
|
|
blackfin)
|
|
|
|
basic_machine=bfin-unknown
|
|
|
|
basic_os=linux
|
|
|
|
;;
|
|
|
|
cegcc)
|
|
|
|
basic_machine=arm-unknown
|
|
|
|
basic_os=cegcc
|
|
|
|
;;
|
|
|
|
convex-c1)
|
|
|
|
basic_machine=c1-convex
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
convex-c2)
|
|
|
|
basic_machine=c2-convex
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
convex-c32)
|
|
|
|
basic_machine=c32-convex
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
convex-c34)
|
|
|
|
basic_machine=c34-convex
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
convex-c38)
|
|
|
|
basic_machine=c38-convex
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
cray)
|
|
|
|
basic_machine=j90-cray
|
|
|
|
basic_os=unicos
|
|
|
|
;;
|
|
|
|
crds | unos)
|
|
|
|
basic_machine=m68k-crds
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
da30)
|
|
|
|
basic_machine=m68k-da30
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
decstation | pmax | pmin | dec3100 | decstatn)
|
|
|
|
basic_machine=mips-dec
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
delta88)
|
|
|
|
basic_machine=m88k-motorola
|
|
|
|
basic_os=sysv3
|
|
|
|
;;
|
|
|
|
dicos)
|
|
|
|
basic_machine=i686-pc
|
|
|
|
basic_os=dicos
|
|
|
|
;;
|
|
|
|
djgpp)
|
|
|
|
basic_machine=i586-pc
|
|
|
|
basic_os=msdosdjgpp
|
|
|
|
;;
|
|
|
|
ebmon29k)
|
|
|
|
basic_machine=a29k-amd
|
|
|
|
basic_os=ebmon
|
|
|
|
;;
|
|
|
|
es1800 | OSE68k | ose68k | ose | OSE)
|
|
|
|
basic_machine=m68k-ericsson
|
|
|
|
basic_os=ose
|
|
|
|
;;
|
|
|
|
gmicro)
|
|
|
|
basic_machine=tron-gmicro
|
|
|
|
basic_os=sysv
|
|
|
|
;;
|
|
|
|
go32)
|
|
|
|
basic_machine=i386-pc
|
|
|
|
basic_os=go32
|
|
|
|
;;
|
|
|
|
h8300hms)
|
|
|
|
basic_machine=h8300-hitachi
|
|
|
|
basic_os=hms
|
|
|
|
;;
|
|
|
|
h8300xray)
|
|
|
|
basic_machine=h8300-hitachi
|
|
|
|
basic_os=xray
|
|
|
|
;;
|
|
|
|
h8500hms)
|
|
|
|
basic_machine=h8500-hitachi
|
|
|
|
basic_os=hms
|
|
|
|
;;
|
|
|
|
harris)
|
|
|
|
basic_machine=m88k-harris
|
|
|
|
basic_os=sysv3
|
|
|
|
;;
|
|
|
|
hp300 | hp300hpux)
|
|
|
|
basic_machine=m68k-hp
|
|
|
|
basic_os=hpux
|
|
|
|
;;
|
|
|
|
hp300bsd)
|
|
|
|
basic_machine=m68k-hp
|
|
|
|
basic_os=bsd
|
|
|
|
;;
|
|
|
|
hppaosf)
|
|
|
|
basic_machine=hppa1.1-hp
|
|
|
|
basic_os=osf
|
|
|
|
;;
|
|
|
|
hppro)
|
|
|
|
basic_machine=hppa1.1-hp
|
|
|
|
basic_os=proelf
|
|
|
|
;;
|
|
|
|
i386mach)
|
|
|
|
basic_machine=i386-mach
|
|
|
|
basic_os=mach
|
|
|
|
;;
|
|
|
|
isi68 | isi)
|
|
|
|
basic_machine=m68k-isi
|
|
|
|
basic_os=sysv
|
|
|
|
;;
|
|
|
|
m68knommu)
|
|
|
|
basic_machine=m68k-unknown
|
|
|
|
basic_os=linux
|
|
|
|
;;
|
|
|
|
magnum | m3230)
|
|
|
|
basic_machine=mips-mips
|
|
|
|
basic_os=sysv
|
|
|
|
;;
|
|
|
|
merlin)
|
|
|
|
basic_machine=ns32k-utek
|
|
|
|
basic_os=sysv
|
|
|
|
;;
|
|
|
|
mingw64)
|
|
|
|
basic_machine=x86_64-pc
|
|
|
|
basic_os=mingw64
|
|
|
|
;;
|
|
|
|
mingw32)
|
|
|
|
basic_machine=i686-pc
|
|
|
|
basic_os=mingw32
|
|
|
|
;;
|
|
|
|
mingw32ce)
|
|
|
|
basic_machine=arm-unknown
|
|
|
|
basic_os=mingw32ce
|
|
|
|
;;
|
|
|
|
monitor)
|
|
|
|
basic_machine=m68k-rom68k
|
|
|
|
basic_os=coff
|
|
|
|
;;
|
|
|
|
morphos)
|
|
|
|
basic_machine=powerpc-unknown
|
|
|
|
basic_os=morphos
|
|
|
|
;;
|
|
|
|
moxiebox)
|
|
|
|
basic_machine=moxie-unknown
|
|
|
|
basic_os=moxiebox
|
|
|
|
;;
|
|
|
|
msdos)
|
|
|
|
basic_machine=i386-pc
|
|
|
|
basic_os=msdos
|
|
|
|
;;
|
|
|
|
msys)
|
|
|
|
basic_machine=i686-pc
|
|
|
|
basic_os=msys
|
|
|
|
;;
|
|
|
|
mvs)
|
|
|
|
basic_machine=i370-ibm
|
|
|
|
basic_os=mvs
|
|
|
|
;;
|
|
|
|
nacl)
|
|
|
|
basic_machine=le32-unknown
|
|
|
|
basic_os=nacl
|
|
|
|
;;
|
|
|
|
ncr3000)
|
|
|
|
basic_machine=i486-ncr
|
|
|
|
basic_os=sysv4
|
|
|
|
;;
|
|
|
|
netbsd386)
|
|
|
|
basic_machine=i386-pc
|
|
|
|
basic_os=netbsd
|
|
|
|
;;
|
|
|
|
netwinder)
|
|
|
|
basic_machine=armv4l-rebel
|
|
|
|
basic_os=linux
|
|
|
|
;;
|
|
|
|
news | news700 | news800 | news900)
|
|
|
|
basic_machine=m68k-sony
|
|
|
|
basic_os=newsos
|
|
|
|
;;
|
|
|
|
news1000)
|
|
|
|
basic_machine=m68030-sony
|
|
|
|
basic_os=newsos
|
|
|
|
;;
|
|
|
|
necv70)
|
|
|
|
basic_machine=v70-nec
|
|
|
|
basic_os=sysv
|
|
|
|
;;
|
|
|
|
nh3000)
|
|
|
|
basic_machine=m68k-harris
|
|
|
|
basic_os=cxux
|
|
|
|
;;
|
|
|
|
nh[45]000)
|
|
|
|
basic_machine=m88k-harris
|
|
|
|
basic_os=cxux
|
|
|
|
;;
|
|
|
|
nindy960)
|
|
|
|
basic_machine=i960-intel
|
|
|
|
basic_os=nindy
|
|
|
|
;;
|
|
|
|
mon960)
|
|
|
|
basic_machine=i960-intel
|
|
|
|
basic_os=mon960
|
|
|
|
;;
|
|
|
|
nonstopux)
|
|
|
|
basic_machine=mips-compaq
|
|
|
|
basic_os=nonstopux
|
|
|
|
;;
|
|
|
|
os400)
|
|
|
|
basic_machine=powerpc-ibm
|
|
|
|
basic_os=os400
|
|
|
|
;;
|
|
|
|
OSE68000 | ose68000)
|
|
|
|
basic_machine=m68000-ericsson
|
|
|
|
basic_os=ose
|
|
|
|
;;
|
|
|
|
os68k)
|
|
|
|
basic_machine=m68k-none
|
|
|
|
basic_os=os68k
|
|
|
|
;;
|
|
|
|
paragon)
|
|
|
|
basic_machine=i860-intel
|
|
|
|
basic_os=osf
|
|
|
|
;;
|
|
|
|
parisc)
|
|
|
|
basic_machine=hppa-unknown
|
|
|
|
basic_os=linux
|
|
|
|
;;
|
|
|
|
psp)
|
|
|
|
basic_machine=mipsallegrexel-sony
|
|
|
|
basic_os=psp
|
|
|
|
;;
|
|
|
|
pw32)
|
|
|
|
basic_machine=i586-unknown
|
|
|
|
basic_os=pw32
|
|
|
|
;;
|
|
|
|
rdos | rdos64)
|
|
|
|
basic_machine=x86_64-pc
|
|
|
|
basic_os=rdos
|
|
|
|
;;
|
|
|
|
rdos32)
|
|
|
|
basic_machine=i386-pc
|
|
|
|
basic_os=rdos
|
|
|
|
;;
|
|
|
|
rom68k)
|
|
|
|
basic_machine=m68k-rom68k
|
|
|
|
basic_os=coff
|
|
|
|
;;
|
|
|
|
sa29200)
|
|
|
|
basic_machine=a29k-amd
|
|
|
|
basic_os=udi
|
|
|
|
;;
|
|
|
|
sei)
|
|
|
|
basic_machine=mips-sei
|
|
|
|
basic_os=seiux
|
|
|
|
;;
|
|
|
|
sequent)
|
|
|
|
basic_machine=i386-sequent
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
sps7)
|
|
|
|
basic_machine=m68k-bull
|
|
|
|
basic_os=sysv2
|
|
|
|
;;
|
|
|
|
st2000)
|
|
|
|
basic_machine=m68k-tandem
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
stratus)
|
|
|
|
basic_machine=i860-stratus
|
|
|
|
basic_os=sysv4
|
|
|
|
;;
|
|
|
|
sun2)
|
|
|
|
basic_machine=m68000-sun
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
sun2os3)
|
|
|
|
basic_machine=m68000-sun
|
|
|
|
basic_os=sunos3
|
|
|
|
;;
|
|
|
|
sun2os4)
|
|
|
|
basic_machine=m68000-sun
|
|
|
|
basic_os=sunos4
|
|
|
|
;;
|
|
|
|
sun3)
|
|
|
|
basic_machine=m68k-sun
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
sun3os3)
|
|
|
|
basic_machine=m68k-sun
|
|
|
|
basic_os=sunos3
|
|
|
|
;;
|
|
|
|
sun3os4)
|
|
|
|
basic_machine=m68k-sun
|
|
|
|
basic_os=sunos4
|
|
|
|
;;
|
|
|
|
sun4)
|
|
|
|
basic_machine=sparc-sun
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
sun4os3)
|
|
|
|
basic_machine=sparc-sun
|
|
|
|
basic_os=sunos3
|
|
|
|
;;
|
|
|
|
sun4os4)
|
|
|
|
basic_machine=sparc-sun
|
|
|
|
basic_os=sunos4
|
|
|
|
;;
|
|
|
|
sun4sol2)
|
|
|
|
basic_machine=sparc-sun
|
|
|
|
basic_os=solaris2
|
|
|
|
;;
|
|
|
|
sun386 | sun386i | roadrunner)
|
|
|
|
basic_machine=i386-sun
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
sv1)
|
|
|
|
basic_machine=sv1-cray
|
|
|
|
basic_os=unicos
|
|
|
|
;;
|
|
|
|
symmetry)
|
|
|
|
basic_machine=i386-sequent
|
|
|
|
basic_os=dynix
|
|
|
|
;;
|
|
|
|
t3e)
|
|
|
|
basic_machine=alphaev5-cray
|
|
|
|
basic_os=unicos
|
|
|
|
;;
|
|
|
|
t90)
|
|
|
|
basic_machine=t90-cray
|
|
|
|
basic_os=unicos
|
|
|
|
;;
|
|
|
|
toad1)
|
|
|
|
basic_machine=pdp10-xkl
|
|
|
|
basic_os=tops20
|
|
|
|
;;
|
|
|
|
tpf)
|
|
|
|
basic_machine=s390x-ibm
|
|
|
|
basic_os=tpf
|
|
|
|
;;
|
|
|
|
udi29k)
|
|
|
|
basic_machine=a29k-amd
|
|
|
|
basic_os=udi
|
|
|
|
;;
|
|
|
|
ultra3)
|
|
|
|
basic_machine=a29k-nyu
|
|
|
|
basic_os=sym1
|
|
|
|
;;
|
|
|
|
v810 | necv810)
|
|
|
|
basic_machine=v810-nec
|
|
|
|
basic_os=none
|
|
|
|
;;
|
|
|
|
vaxv)
|
|
|
|
basic_machine=vax-dec
|
|
|
|
basic_os=sysv
|
|
|
|
;;
|
|
|
|
vms)
|
|
|
|
basic_machine=vax-dec
|
|
|
|
basic_os=vms
|
|
|
|
;;
|
|
|
|
vsta)
|
|
|
|
basic_machine=i386-pc
|
|
|
|
basic_os=vsta
|
|
|
|
;;
|
|
|
|
vxworks960)
|
|
|
|
basic_machine=i960-wrs
|
|
|
|
basic_os=vxworks
|
|
|
|
;;
|
|
|
|
vxworks68)
|
|
|
|
basic_machine=m68k-wrs
|
|
|
|
basic_os=vxworks
|
|
|
|
;;
|
|
|
|
vxworks29k)
|
|
|
|
basic_machine=a29k-wrs
|
|
|
|
basic_os=vxworks
|
|
|
|
;;
|
|
|
|
xbox)
|
|
|
|
basic_machine=i686-pc
|
|
|
|
basic_os=mingw32
|
|
|
|
;;
|
|
|
|
ymp)
|
|
|
|
basic_machine=ymp-cray
|
|
|
|
basic_os=unicos
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
basic_machine=$1
|
|
|
|
basic_os=
|
|
|
|
;;
|
|
|
|
esac
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2022-08-02 08:10:55 -04:00
|
|
|
# Decode 1-component or ad-hoc basic machines
|
2005-09-15 09:58:31 -04:00
|
|
|
case $basic_machine in
|
2022-08-02 08:10:55 -04:00
|
|
|
# Here we handle the default manufacturer of certain CPU types. It is in
|
|
|
|
# some cases the only manufacturer, in others, it is the most popular.
|
|
|
|
w89k)
|
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=winbond
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
op50n)
|
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=oki
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
op60c)
|
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=oki
|
2005-11-29 19:27:24 -05:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
ibm*)
|
|
|
|
cpu=i370
|
|
|
|
vendor=ibm
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
orion105)
|
|
|
|
cpu=clipper
|
|
|
|
vendor=highlevel
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
mac | mpw | mac-mpw)
|
|
|
|
cpu=m68k
|
|
|
|
vendor=apple
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
pmac | pmac-mpw)
|
|
|
|
cpu=powerpc
|
|
|
|
vendor=apple
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
|
|
|
|
# Recognize the various machine names and aliases which stand
|
|
|
|
# for a CPU type and a company and sometimes even an OS.
|
|
|
|
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=m68000
|
|
|
|
vendor=att
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
3b*)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=we32k
|
|
|
|
vendor=att
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
|
|
|
bluegene*)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=powerpc
|
|
|
|
vendor=ibm
|
|
|
|
basic_os=cnk
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
decsystem10* | dec10*)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=pdp10
|
|
|
|
vendor=dec
|
|
|
|
basic_os=tops10
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
decsystem20* | dec20*)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=pdp10
|
|
|
|
vendor=dec
|
|
|
|
basic_os=tops20
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
delta | 3300 | motorola-3300 | motorola-delta \
|
|
|
|
| 3300-motorola | delta-motorola)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=m68k
|
|
|
|
vendor=motorola
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-05-23 19:05:53 -04:00
|
|
|
dpx2*)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=m68k
|
|
|
|
vendor=bull
|
|
|
|
basic_os=sysv3
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
encore | umax | mmax)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=ns32k
|
|
|
|
vendor=encore
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
elxsi)
|
|
|
|
cpu=elxsi
|
|
|
|
vendor=elxsi
|
|
|
|
basic_os=${basic_os:-bsd}
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
fx2800)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=i860
|
|
|
|
vendor=alliant
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
genix)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=ns32k
|
|
|
|
vendor=ns
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
h3050r* | hiux*)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=hitachi
|
|
|
|
basic_os=hiuxwe2
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp3k9[0-9][0-9] | hp9[0-9][0-9])
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.0
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp9k2[0-9][0-9] | hp9k31[0-9])
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=m68000
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp9k3[2-9][0-9])
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=m68k
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp9k6[0-9][0-9] | hp6[0-9][0-9])
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.0
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp9k7[0-79][0-9] | hp7[0-79][0-9])
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp9k78[0-9] | hp78[0-9])
|
|
|
|
# FIXME: really hppa2.0-hp
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
|
|
|
|
# FIXME: really hppa2.0-hp
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp9k8[0-9][13679] | hp8[0-9][13679])
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
hp9k8[0-9][0-9] | hp8[0-9][0-9])
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.0
|
|
|
|
vendor=hp
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
i*86v32)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=$(echo "$1" | sed -e 's/86.*/86/')
|
|
|
|
vendor=pc
|
|
|
|
basic_os=sysv32
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
i*86v4*)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=$(echo "$1" | sed -e 's/86.*/86/')
|
|
|
|
vendor=pc
|
|
|
|
basic_os=sysv4
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
i*86v)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=$(echo "$1" | sed -e 's/86.*/86/')
|
|
|
|
vendor=pc
|
|
|
|
basic_os=sysv
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
i*86sol2)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=$(echo "$1" | sed -e 's/86.*/86/')
|
|
|
|
vendor=pc
|
|
|
|
basic_os=solaris2
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
j90 | j90-cray)
|
|
|
|
cpu=j90
|
|
|
|
vendor=cray
|
|
|
|
basic_os=${basic_os:-unicos}
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
iris | iris4d)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=mips
|
|
|
|
vendor=sgi
|
|
|
|
case $basic_os in
|
|
|
|
irix*)
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
*)
|
2022-08-02 08:10:55 -04:00
|
|
|
basic_os=irix4
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
miniframe)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=m68000
|
|
|
|
vendor=convergent
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
*mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
|
|
|
|
cpu=m68k
|
|
|
|
vendor=atari
|
|
|
|
basic_os=mint
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
news-3600 | risc-news)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=mips
|
|
|
|
vendor=sony
|
|
|
|
basic_os=newsos
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-05-23 19:05:53 -04:00
|
|
|
next | m*-next)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=m68k
|
|
|
|
vendor=next
|
|
|
|
case $basic_os in
|
|
|
|
openstep*)
|
|
|
|
;;
|
|
|
|
nextstep*)
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
ns2*)
|
|
|
|
basic_os=nextstep2
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
*)
|
2022-08-02 08:10:55 -04:00
|
|
|
basic_os=nextstep3
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
np1)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=np1
|
|
|
|
vendor=gould
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2005-09-15 09:58:31 -04:00
|
|
|
op50n-* | op60c-*)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=oki
|
|
|
|
basic_os=proelf
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
pa-hitachi)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=hitachi
|
|
|
|
basic_os=hiuxwe2
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2005-09-15 09:58:31 -04:00
|
|
|
pbd)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=sparc
|
|
|
|
vendor=tti
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
pbb)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=m68k
|
|
|
|
vendor=tti
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
pc532)
|
|
|
|
cpu=ns32k
|
|
|
|
vendor=pc532
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
|
|
|
pn)
|
2022-08-02 08:10:55 -04:00
|
|
|
cpu=pn
|
|
|
|
vendor=gould
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
power)
|
|
|
|
cpu=power
|
|
|
|
vendor=ibm
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
ps2)
|
|
|
|
cpu=i386
|
|
|
|
vendor=ibm
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
rm[46]00)
|
|
|
|
cpu=mips
|
|
|
|
vendor=siemens
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
rtpc | rtpc-*)
|
|
|
|
cpu=romp
|
|
|
|
vendor=ibm
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
sde)
|
|
|
|
cpu=mipsisa32
|
|
|
|
vendor=sde
|
|
|
|
basic_os=${basic_os:-elf}
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
simso-wrs)
|
|
|
|
cpu=sparclite
|
|
|
|
vendor=wrs
|
|
|
|
basic_os=vxworks
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
tower | tower-32)
|
|
|
|
cpu=m68k
|
|
|
|
vendor=ncr
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
vpp*|vx|vx-*)
|
|
|
|
cpu=f301
|
|
|
|
vendor=fujitsu
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
w65)
|
|
|
|
cpu=w65
|
|
|
|
vendor=wdc
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
w89k-*)
|
|
|
|
cpu=hppa1.1
|
|
|
|
vendor=winbond
|
|
|
|
basic_os=proelf
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
none)
|
|
|
|
cpu=none
|
|
|
|
vendor=none
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
leon|leon[3-9])
|
|
|
|
cpu=sparc
|
|
|
|
vendor=$basic_machine
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
leon-*|leon[3-9]-*)
|
|
|
|
cpu=sparc
|
|
|
|
vendor=$(echo "$basic_machine" | sed 's/-.*//')
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
|
|
|
|
*-*)
|
|
|
|
# shellcheck disable=SC2162
|
|
|
|
IFS="-" read cpu vendor <<EOF
|
|
|
|
$basic_machine
|
|
|
|
EOF
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
# We use `pc' rather than `unknown'
|
|
|
|
# because (1) that's what they normally are, and
|
|
|
|
# (2) the word "unknown" tends to confuse beginning users.
|
|
|
|
i*86 | x86_64)
|
|
|
|
cpu=$basic_machine
|
|
|
|
vendor=pc
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
# These rules are duplicated from below for sake of the special case above;
|
|
|
|
# i.e. things that normalized to x86 arches should also default to "pc"
|
|
|
|
pc98)
|
|
|
|
cpu=i386
|
|
|
|
vendor=pc
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
x64 | amd64)
|
|
|
|
cpu=x86_64
|
|
|
|
vendor=pc
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
# Recognize the basic CPU types without company name.
|
|
|
|
*)
|
|
|
|
cpu=$basic_machine
|
|
|
|
vendor=unknown
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
esac
|
|
|
|
|
|
|
|
unset -v basic_machine
|
|
|
|
|
|
|
|
# Decode basic machines in the full and proper CPU-Company form.
|
|
|
|
case $cpu-$vendor in
|
|
|
|
# Here we handle the default manufacturer of certain CPU types in canonical form. It is in
|
|
|
|
# some cases the only manufacturer, in others, it is the most popular.
|
|
|
|
craynv-unknown)
|
|
|
|
vendor=cray
|
|
|
|
basic_os=${basic_os:-unicosmp}
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
c90-unknown | c90-cray)
|
|
|
|
vendor=cray
|
|
|
|
basic_os=${Basic_os:-unicos}
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
fx80-unknown)
|
|
|
|
vendor=alliant
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
romp-unknown)
|
|
|
|
vendor=ibm
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
mmix-unknown)
|
|
|
|
vendor=knuth
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
microblaze-unknown | microblazeel-unknown)
|
|
|
|
vendor=xilinx
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
rs6000-unknown)
|
|
|
|
vendor=ibm
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
vax-unknown)
|
|
|
|
vendor=dec
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
pdp11-unknown)
|
|
|
|
vendor=dec
|
2022-05-23 19:05:53 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
we32k-unknown)
|
|
|
|
vendor=att
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
cydra-unknown)
|
|
|
|
vendor=cydrome
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
i370-ibm*)
|
|
|
|
vendor=ibm
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
orion-unknown)
|
|
|
|
vendor=highlevel
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
xps-unknown | xps100-unknown)
|
|
|
|
cpu=xps100
|
|
|
|
vendor=honeywell
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
|
|
|
|
# Here we normalize CPU types with a missing or matching vendor
|
|
|
|
dpx20-unknown | dpx20-bull)
|
|
|
|
cpu=rs6000
|
|
|
|
vendor=bull
|
|
|
|
basic_os=${basic_os:-bosx}
|
2005-09-15 09:58:31 -04:00
|
|
|
;;
|
2022-08-02 08:10:55 -04:00
|
|
|
|
|
|
|
# Here we normalize CPU types irrespective of the vendor
|
|
|
|
amd64-*)
|
|