config-patches
[Top][All Lists]
Advanced

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

[PATCH 3/6] * config.sub: No more os-driven subsitiion of -pc with sed


From: John Ericson
Subject: [PATCH 3/6] * config.sub: No more os-driven subsitiion of -pc with sed
Date: Sat, 19 May 2018 22:15:49 -0400

I'm not sure why this was originally added. It's certainly not needed anymore
because the `os` will never be duplicated onto the send of the `basic_machine`.
If the user passed `unknown` or no vender, this will already be filled in. If
they passed something more specific, it's customary to respect that.
---
 ChangeLog  |  1 +
 config.sub | 14 --------------
 2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dbb62cf..99a80b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * testsuite/config-sub.data: Add clipper-clix and m68k-mint tests.
        * config.sub: Cordon off two component aliases
        * config.sub: Simplify *-wrs hanlding
+       * config.sub: No more os-driven subsitiion of -pc with sed
 
 2018-05-19  Ben Elliston  <address@hidden>
 
diff --git a/config.sub b/config.sub
index 9c219af..b0eae2c 100755
--- a/config.sub
+++ b/config.sub
@@ -585,45 +585,31 @@ case $os in
                ;;
        sco6)
                os=sco5v6
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
                ;;
        sco5)
                os=sco3.2v5
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
                ;;
        sco4)
                os=sco3.2v4
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
                ;;
        sco3.2.[4-9]*)
                os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
                ;;
        sco3.2v[4-9]*)
                # Don't forget version if it is 3.2v4 or newer.
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
                ;;
        sco5v6*)
                # Don't forget version if it is 3.2v4 or newer.
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
                ;;
        sco*)
                os=sco3.2v2
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
-               ;;
-       udk*)
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
                ;;
        isc)
                os=isc2.2
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
                ;;
        clix*)
                basic_machine=clipper-intergraph
                ;;
-       isc*)
-               basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
-               ;;
        lynx*178)
                os=lynxos178
                ;;
-- 
2.16.3




reply via email to

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