* config.sub: Simplify *-wrs handling.

"wrs" is just a vendor that can be handled with all the other vendor
exceptions for two-component cases. `wrs) os=vxworks` can instead be
put with the other OS defaults down below.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
John Ericson 2018-05-23 11:33:44 +10:00 committed by Ben Elliston
parent ca138e34d0
commit 63fe500bb8
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2018-05-23 John Ericson <john.ericson@obsidian.systems>
* config.sub: Simplify *-wrs handling.
2018-05-23 John Ericson <john.ericson@obsidian.systems>
* config.sub: Cordon off two-component aliases.

9
config.sub vendored
View File

@ -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
;;