"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 <b...@gnu.org> 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 _______________________________________________ config-patches mailing list config-patches@gnu.org https://lists.gnu.org/mailman/listinfo/config-patches