Re: [PATCH] * config.sub: Simplify OS checking

2018-05-20 Thread Ben Elliston
On Sat, May 19, 2018 at 10:15:49PM -0400, John Ericson wrote: > The removed case did a variety of things. Here's each and what I did: Can you break this patch up into smaller parts, please? Thanks, Ben signature.asc Description: PGP signature ___

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

2018-05-20 Thread John Ericson
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

[PATCH 2/6] * config.sub: Simplify *-wrs hanlding

2018-05-20 Thread John Ericson
"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

[PATCH 1/6] * config.sub: Cordon off two component aliases

2018-05-20 Thread John Ericson
Instead of just catching manufactures as OSes across the board, catch them just as the second of two components. The prevent nonsense like: $ ./config.sub amd64-unknown-ibm x86_64-unknown-ibm-aix --- ChangeLog | 1 + config.sub | 45 +

[PATCH 6/6] * config.sub: Consolidate OS version checking

2018-05-20 Thread John Ericson
This is all that remains of the case at the top, and it can now be straight-forwardly merged with the rest down at the bottom. --- ChangeLog | 1 + config.sub | 127 +++-- 2 files changed, 58 insertions(+), 70 deletions(-) diff --git

[PATCH 4/6] * config.sub: No more forced "-sequent" in the `basic_machine` for "ipx"

2018-05-20 Thread John Ericson
"unknown" will be defaulted to "sequent" per existing code below. "pc" won't be, but I rather handle that inconsistency separately --- e.g. should we default to "pc" at all, or if we do should we allow vendor refinement anyways. --- ChangeLog | 1 + config.sub | 3 --- 2 files

[PATCH 5/6] * config.sub: Don't Force `basic_machine` based on `os` just for "mint" and "clix"

2018-05-20 Thread John Ericson
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