• Home
  • Raw
  • Download

Lines Matching +full:s390x +full:- +full:rules

3 #   Copyright 1992-2021 Free Software Foundation, Inc.
7 timestamp='2021-08-14'
30 # Please send patches to <config-patches@gnu.org>.
50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
51 # or in some cases, the newer four-part form:
52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
58 # variety of pre-POSIX systems that do not have POSIX shells at all, and
59 # even some reasonably current systems (Solaris 10 as case-in-point) still
60 # have a pre-POSIX /bin/sh.
62 me=`echo "$0" | sed -e 's,.*/,,'`
65 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
70 -h, --help print this help, then exit
71 -t, --time-stamp print date of last modification, then exit
72 -v, --version print version number, then exit
74 Report bugs and patches to <config-patches@gnu.org>."
79 Copyright 1992-2021 Free Software Foundation, Inc.
85 Try \`$me --help' for more information."
88 while test $# -gt 0 ; do
90 --time-stamp | --time* | -t )
92 --version | -v )
94 --help | --h* | -h )
96 -- ) # Stop option processing
98 - ) # Use stdin as input.
100 -* )
125 IFS="-" read field1 field2 field3 field4 <<EOF
132 *-*-*-*-*)
136 *-*-*-*)
137 basic_machine=$field1-$field2
138 basic_os=$field3-$field4
140 *-*-*)
141 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
143 maybe_os=$field2-$field3
145 nto-qnx* | linux-* | uclinux-uclibc* \
146 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
147 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
148 | storm-chaos* | os2-emx* | rtmk-nova*)
152 android-linux)
153 basic_machine=$field1-unknown
154 basic_os=linux-android
157 basic_machine=$field1-$field2
162 *-*)
164 case $field1-$field2 in
165 decstation-3100)
166 basic_machine=mips-dec
169 *-*)
178 basic_machine=$field1-unknown
191 basic_machine=$field1-$field2
203 # Convert single-component short-hands not valid as part of
204 # multi-component configurations.
207 basic_machine=i386-pc
211 basic_machine=a29k-amd
215 basic_machine=m68010-adobe
219 basic_machine=fx80-alliant
223 basic_machine=m68k-altos
227 basic_machine=a29k-none
231 basic_machine=580-amdahl
235 basic_machine=m68k-unknown
239 basic_machine=m68k-unknown
243 basic_machine=m68k-unknown
247 basic_machine=m68k-apollo
251 basic_machine=m68k-apollo
255 basic_machine=i386-pc
259 basic_machine=m68k-apple
263 basic_machine=ns32k-sequent
267 basic_machine=bfin-unknown
271 basic_machine=arm-unknown
274 convex-c1)
275 basic_machine=c1-convex
278 convex-c2)
279 basic_machine=c2-convex
282 convex-c32)
283 basic_machine=c32-convex
286 convex-c34)
287 basic_machine=c34-convex
290 convex-c38)
291 basic_machine=c38-convex
295 basic_machine=j90-cray
299 basic_machine=m68k-crds
303 basic_machine=m68k-da30
307 basic_machine=mips-dec
311 basic_machine=m88k-motorola
315 basic_machine=i686-pc
319 basic_machine=i586-pc
323 basic_machine=a29k-amd
327 basic_machine=m68k-ericsson
331 basic_machine=tron-gmicro
335 basic_machine=i386-pc
339 basic_machine=h8300-hitachi
343 basic_machine=h8300-hitachi
347 basic_machine=h8500-hitachi
351 basic_machine=m88k-harris
355 basic_machine=m68k-hp
359 basic_machine=m68k-hp
363 basic_machine=hppa1.1-hp
367 basic_machine=hppa1.1-hp
371 basic_machine=i386-mach
375 basic_machine=m68k-isi
379 basic_machine=m68k-unknown
383 basic_machine=mips-mips
387 basic_machine=ns32k-utek
391 basic_machine=x86_64-pc
395 basic_machine=i686-pc
399 basic_machine=arm-unknown
403 basic_machine=m68k-rom68k
407 basic_machine=powerpc-unknown
411 basic_machine=moxie-unknown
415 basic_machine=i386-pc
419 basic_machine=i686-pc
423 basic_machine=i370-ibm
427 basic_machine=le32-unknown
431 basic_machine=i486-ncr
435 basic_machine=i386-pc
439 basic_machine=armv4l-rebel
443 basic_machine=m68k-sony
447 basic_machine=m68030-sony
451 basic_machine=v70-nec
455 basic_machine=m68k-harris
459 basic_machine=m88k-harris
463 basic_machine=i960-intel
467 basic_machine=i960-intel
471 basic_machine=mips-compaq
475 basic_machine=powerpc-ibm
479 basic_machine=m68000-ericsson
483 basic_machine=m68k-none
487 basic_machine=i860-intel
491 basic_machine=hppa-unknown
495 basic_machine=mipsallegrexel-sony
499 basic_machine=i586-unknown
503 basic_machine=x86_64-pc
507 basic_machine=i386-pc
511 basic_machine=m68k-rom68k
515 basic_machine=a29k-amd
519 basic_machine=mips-sei
523 basic_machine=i386-sequent
527 basic_machine=m68k-bull
531 basic_machine=m68k-tandem
535 basic_machine=i860-stratus
539 basic_machine=m68000-sun
543 basic_machine=m68000-sun
547 basic_machine=m68000-sun
551 basic_machine=m68k-sun
555 basic_machine=m68k-sun
559 basic_machine=m68k-sun
563 basic_machine=sparc-sun
567 basic_machine=sparc-sun
571 basic_machine=sparc-sun
575 basic_machine=sparc-sun
579 basic_machine=i386-sun
583 basic_machine=sv1-cray
587 basic_machine=i386-sequent
591 basic_machine=alphaev5-cray
595 basic_machine=t90-cray
599 basic_machine=pdp10-xkl
603 basic_machine=s390x-ibm
607 basic_machine=a29k-amd
611 basic_machine=a29k-nyu
615 basic_machine=v810-nec
619 basic_machine=vax-dec
623 basic_machine=vax-dec
627 basic_machine=i386-pc
631 basic_machine=i960-wrs
635 basic_machine=m68k-wrs
639 basic_machine=a29k-wrs
643 basic_machine=i686-pc
647 basic_machine=ymp-cray
658 # Decode 1-component or ad-hoc basic machines
682 mac | mpw | mac-mpw)
686 pmac | pmac-mpw)
693 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
716 delta | 3300 | motorola-3300 | motorola-delta \
717 | 3300-motorola | delta-motorola)
733 basic_os=${basic_os:-bsd}
748 hp3k9[0-9][0-9] | hp9[0-9][0-9])
752 hp9k2[0-9][0-9] | hp9k31[0-9])
756 hp9k3[2-9][0-9])
760 hp9k6[0-9][0-9] | hp6[0-9][0-9])
764 hp9k7[0-79][0-9] | hp7[0-79][0-9])
768 hp9k78[0-9] | hp78[0-9])
769 # FIXME: really hppa2.0-hp
774 # FIXME: really hppa2.0-hp
778 hp9k8[0-9][13679] | hp8[0-9][13679])
782 hp9k8[0-9][0-9] | hp8[0-9][0-9])
787 cpu=`echo "$1" | sed -e 's/86.*/86/'`
792 cpu=`echo "$1" | sed -e 's/86.*/86/'`
797 cpu=`echo "$1" | sed -e 's/86.*/86/'`
802 cpu=`echo "$1" | sed -e 's/86.*/86/'`
806 j90 | j90-cray)
809 basic_os=${basic_os:-unicos}
826 *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
831 news-3600 | risc-news)
836 next | m*-next)
856 op50n-* | op60c-*)
861 pa-hitachi)
894 rtpc | rtpc-*)
901 basic_os=${basic_os:-elf}
903 simso-wrs)
908 tower | tower-32)
912 vpp*|vx|vx-*)
920 w89k-*)
929 leon|leon[3-9])
933 leon-*|leon[3-9]-*)
935 vendor=`echo "$basic_machine" | sed 's/-.*//'`
938 *-*)
941 IFS="-" read cpu vendor <<EOF
953 # These rules are duplicated from below for sake of the special case above;
970 unset -v basic_machine
972 # Decode basic machines in the full and proper CPU-Company form.
973 case $cpu-$vendor in
976 craynv-unknown)
978 basic_os=${basic_os:-unicosmp}
980 c90-unknown | c90-cray)
982 basic_os=${Basic_os:-unicos}
984 fx80-unknown)
987 romp-unknown)
990 mmix-unknown)
993 microblaze-unknown | microblazeel-unknown)
996 rs6000-unknown)
999 vax-unknown)
1002 pdp11-unknown)
1005 we32k-unknown)
1008 cydra-unknown)
1011 i370-ibm*)
1014 orion-unknown)
1017 xps-unknown | xps100-unknown)
1023 dpx20-unknown | dpx20-bull)
1026 basic_os=${basic_os:-bosx}
1030 amd64-*)
1033 blackfin-*)
1037 c54x-*)
1040 c55x-*)
1043 c6x-*)
1046 e500v[12]-*)
1050 mips3*-*)
1053 ms1-*)
1056 m68knommu-*)
1060 m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
1063 openrisc-*)
1066 parisc-*)
1070 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1073 pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
1076 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1079 pentium4-*)
1082 pc98-*)
1085 ppc-* | ppcbe-*)
1088 ppcle-* | powerpclittle-*)
1091 ppc64-*)
1094 ppc64le-* | powerpc64little-*)
1097 sb1-*)
1100 sb1el-*)
1103 sh5e[lb]-*)
1106 spur-*)
1109 strongarm-* | thumb-*)
1112 tx39-*)
1115 tx39el-*)
1118 x64-*)
1121 xscale-* | xscalee[bl]-*)
1124 arm64-*)
1130 cr16-*)
1131 basic_os=${basic_os:-elf}
1133 crisv32-* | etraxfs*-*)
1137 cris-* | etrax*-*)
1141 crx-*)
1142 basic_os=${basic_os:-elf}
1144 neo-tandem)
1148 nse-tandem)
1152 nsr-tandem)
1156 nsv-tandem)
1160 nsx-tandem)
1164 mipsallegrexel-sony)
1168 tile*-*)
1169 basic_os=${basic_os:-linux-gnu}
1180 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
1181 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \
1256 | s390 | s390x \
1283 echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
1302 # Decode manufacturer-specific aliases for certain operating systems.
1307 # First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
1312 os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
1314 os2-emx)
1316 os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
1318 nto-qnx*)
1320 os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
1322 *-*)
1325 IFS="-" read kernel os <<EOF
1333 os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
1337 os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
1358 os=`echo "$os" | sed -e 's|solaris1|sunos4|'`
1386 sco3.2.[4-9]*)
1387 os=`echo "$os" | sed -e 's/sco3.2./sco3.2v/'`
1416 mac[0-9]*)
1417 os=`echo "$os" | sed -e 's|mac|macos|'`
1426 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
1429 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
1456 os=rtmk-nova
1463 os=`echo "$os" | sed -e 's|sinix|sysv|'`
1489 *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
1519 # Note that if you're going to try to match "-MANUFACTURER" here (say,
1520 # "-sun"), then you have to tell the case statement up towards the top
1526 case $cpu-$vendor in
1527 score-*)
1530 spu-*)
1533 *-acorn)
1536 arm*-rebel)
1540 arm*-semi)
1543 c4x-* | tic4x-*)
1546 c8051-*)
1549 clipper-intergraph)
1552 hexagon-*)
1555 tic54x-*)
1558 tic55x-*)
1561 tic6x-*)
1564 # This must come before the *-dec entry.
1565 pdp10-*)
1568 pdp11-*)
1571 *-dec | vax-*)
1574 m68*-apollo)
1577 i386-sun)
1580 m68000-sun)
1583 m68*-cisco)
1586 mep-*)
1589 mips*-cisco)
1592 mips*-*)
1595 or32-*)
1598 *-tti) # must be before sparc entry or we get the wrong os.
1601 sparc-* | *-sun)
1604 pru-*)
1607 *-be)
1610 *-ibm)
1613 *-knuth)
1616 *-wec)
1619 *-winbond)
1622 *-oki)
1625 *-hp)
1628 *-hitachi)
1631 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1634 *-cbm)
1637 *-dg)
1640 *-dolphin)
1643 m68k-ccur)
1646 m88k-omron*)
1649 *-next)
1652 *-sequent)
1655 *-crds)
1658 *-ns)
1661 i370-*)
1664 *-gould)
1667 *-highlevel)
1670 *-encore)
1673 *-sgi)
1676 *-siemens)
1679 *-masscomp)
1682 f30[01]-fujitsu | f700-fujitsu)
1685 *-rom68k)
1688 *-*bug)
1691 *-apple)
1694 *-atari*)
1697 *-wrs)
1707 # Now, validate our (potentially fixed-up) OS.
1709 # Sometimes we do "kernel-libc", so those need to count as OSes.
1712 # Likewise for "kernel-abi"
1744 | storm-chaos* | tops10* | tenex* | tops20* | its* \
1754 sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
1765 # As a final step for OS-related things, validate the OS-kernel combination
1767 case $kernel-$os in
1768 linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
1769 | linux-musl* | linux-relibc* | linux-uclibc* )
1771 uclinux-uclibc* )
1773 -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
1779 kfreebsd*-gnu* | kopensolaris*-gnu*)
1781 vxworks-simlinux | vxworks-simwindows | vxworks-spe)
1783 nto-qnx*)
1785 os2-emx)
1787 *-eabi* | *-gnueabi*)
1789 -*)
1792 *-*)
1802 case $cpu-$os in
1803 *-riscix*)
1806 *-sunos*)
1809 *-cnk* | *-aix*)
1812 *-beos*)
1815 *-hpux*)
1818 *-mpeix*)
1821 *-hiux*)
1824 *-unos*)
1827 *-dgux*)
1830 *-luna*)
1833 *-genix*)
1836 *-clix*)
1839 *-mvs* | *-opened*)
1842 *-os400*)
1845 s390-* | s390x-*)
1848 *-ptx*)
1851 *-tpf*)
1854 *-vxsim* | *-vxworks* | *-windiss*)
1857 *-aux*)
1860 *-hms*)
1863 *-mpw* | *-macos*)
1866 *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*)
1869 *-vos*)
1876 echo "$cpu-$vendor-${kernel:+$kernel-}$os"
1880 # eval: (add-hook 'before-save-hook 'time-stamp)
1881 # time-stamp-start: "timestamp='"
1882 # time-stamp-format: "%:y-%02m-%02d"
1883 # time-stamp-end: "'"