* config.sub: Don't force basic_machine based on $os just for

"mint" and "clix".

I got rid of this forcing, as it can hide an error from the user and
is unlike how other OSes are handled. I added fallbacks for clix (MiNT
already had some) such that at least the following stil work:

  $ ./config.sub clipper-clix
  clipper-intergraph-clix

  $ ./config.sub m68k-mint
  m68k-atari-mint

  $ ./config.sub mint
  m68k-atari-mint

"clix" (as opposed to "nonsense-clix", ie. with at least one "-"
before) never worked, so I didn't add a short-hand to make it work
like "mint".

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
John Ericson 2018-05-23 13:11:57 +10:00 committed by Ben Elliston
parent 437b9abd44
commit 629b235120
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2018-05-23 John Ericson <john.ericson@obsidian.systems>
* config.sub: Don't force basic_machine based on $os just for
"mint" and "clix".
2018-05-23 John Ericson <john.ericson@obsidian.systems>
* config.sub: No more OS-driven substitution of -pc with sed.

13
config.sub vendored
View File

@ -607,9 +607,6 @@ case $os in
isc)
os=isc2.2
;;
clix*)
basic_machine=clipper-intergraph
;;
lynx*178)
os=lynxos178
;;
@ -625,10 +622,6 @@ case $os in
psos*)
os=psos
;;
mint | mint[0-9]*)
basic_machine=m68k-atari
os=mint
;;
esac
# Decode aliases for certain CPU-COMPANY combinations.
@ -1586,6 +1579,9 @@ case $basic_machine in
c8051-*)
os=elf
;;
clipper-intergraph)
os=clix
;;
hexagon-*)
os=elf
;;
@ -1779,6 +1775,9 @@ case $basic_machine in
genix*)
vendor=ns
;;
clix*)
vendor=intergraph
;;
mvs* | opened*)
vendor=ibm
;;