config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 5/6] * config.sub: Don't Force `basic_machine` based on `os` jus


From: John Ericson
Subject: [PATCH 5/6] * config.sub: Don't Force `basic_machine` based on `os` just for "mint" and "clix"
Date: Sat, 19 May 2018 22:15:49 -0400

   I just got rid of this forcing, as it can hide the user's errors from
   the user and is unlike how other OSes are treated. 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", i.e. with at least one "-"
   before) never worked, so I didn't add a short-hand to make it work
   like "mint".
---
 ChangeLog  |  1 +
 config.sub | 13 ++++++-------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index eaf8ee7..0d00a3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
        * config.sub: Simplify *-wrs hanlding
        * config.sub: No more os-driven subsitiion of -pc with sed
        * config.sub: No more forced "-sequent" in the `basic_machine` for "ipx"
+       * config.sub: Don't Force `basic_machine` based on `os` just for "mint" 
and "clix"
 
 2018-05-19  Ben Elliston  <address@hidden>
 
diff --git a/config.sub b/config.sub
index 80d2b1c..99bf891 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
                ;;
@@ -622,10 +619,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.
@@ -1583,6 +1576,9 @@ case $basic_machine in
        c8051-*)
                os=elf
                ;;
+       clipper-intergraph)
+               os=clix
+               ;;
        hexagon-*)
                os=elf
                ;;
@@ -1776,6 +1772,9 @@ case $basic_machine in
                        genix*)
                                vendor=ns
                                ;;
+                       clix*)
+                               vendor=intergraph
+                               ;;
                        mvs* | opened*)
                                vendor=ibm
                                ;;
-- 
2.16.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]