From 629b2351202a653b5a0db8cb05e51223eb40b0ca Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 23 May 2018 13:11:57 +1000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ config.sub | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index c79c20f..03bb272 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-05-23 John Ericson + + * config.sub: Don't force basic_machine based on $os just for + "mint" and "clix". + 2018-05-23 John Ericson * config.sub: No more OS-driven substitution of -pc with sed. diff --git a/config.sub b/config.sub index 3172045..ecc5c5e 100755 --- a/config.sub +++ b/config.sub @@ -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 ;;