[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/6] * config.sub: Simplify *-wrs hanlding
From: |
John Ericson |
Subject: |
[PATCH 2/6] * config.sub: Simplify *-wrs hanlding |
Date: |
Sat, 19 May 2018 22:15:49 -0400 |
"wrs" is just a vendor that can be handled with all the other vendors
exceptions for two component cases. `wrs) os=vxworks` can instead be put
with the other OS defaults down below.
---
ChangeLog | 1 +
config.sub | 9 ++++-----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6e937e6..dbb62cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* testsuite/config-sub.data: Add clipper-clix and m68k-mint tests.
* config.sub: Cordon off two component aliases
+ * config.sub: Simplify *-wrs hanlding
2018-05-19 Ben Elliston <address@hidden>
diff --git a/config.sub b/config.sub
index c36dd49..9c219af 100755
--- a/config.sub
+++ b/config.sub
@@ -164,7 +164,7 @@ case $1 in
| c[123]* | convex* | sun | crds | omron* | dg | ultra
| tti* \
| harris | dolphin | highlevel | gould | cbm | ns |
masscomp \
| apple | axis | knuth | cray | microblaze* \
- | sim | cisco | oki | wec | winbond)
+ | sim | cisco | oki | wec | wrs | winbond)
basic_machine=$field1-$field2
os=
;;
@@ -572,10 +572,6 @@ case $os in
;;
scout)
;;
- wrs)
- os=vxworks
- basic_machine=$1
- ;;
chorusos*)
os=chorusos
basic_machine=$1
@@ -1749,6 +1745,9 @@ case $basic_machine in
*-atari*)
os=mint
;;
+ *-wrs)
+ os=vxworks
+ ;;
*)
os=none
;;
--
2.16.3
- [PATCH] * config.sub: Simplify OS checking, John Ericson, 2018/05/20
- Re: [PATCH] * config.sub: Simplify OS checking, Ben Elliston, 2018/05/20
- [PATCH 1/6] * config.sub: Cordon off two component aliases, John Ericson, 2018/05/20
- [PATCH 2/6] * config.sub: Simplify *-wrs hanlding,
John Ericson <=
- [PATCH 3/6] * config.sub: No more os-driven subsitiion of -pc with sed, John Ericson, 2018/05/20
- [PATCH 4/6] * config.sub: No more forced "-sequent" in the `basic_machine` for "ipx", John Ericson, 2018/05/20
- [PATCH 5/6] * config.sub: Don't Force `basic_machine` based on `os` just for "mint" and "clix", John Ericson, 2018/05/20
- [PATCH 6/6] * config.sub: Consolidate OS version checking, John Ericson, 2018/05/20
- Re: [PATCH 6/6] * config.sub: Consolidate OS version checking, Ben Elliston, 2018/05/21
- Re: [PATCH 6/6] * config.sub: Consolidate OS version checking, Ben Elliston, 2018/05/22
- Re: [PATCH 4/6] * config.sub: No more forced "-sequent" in the `basic_machine` for "ipx", Ben Elliston, 2018/05/22
- Re: [PATCH 4/6] * config.sub: No more forced "-sequent" in the `basic_machine` for "ipx", Ben Elliston, 2018/05/22