* config.sub: Don't need 'os=${os:-none}' defaults because that is

already the default.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
John Ericson 2018-08-08 11:48:35 +10:00 committed by Ben Elliston
parent 08ede0dcc1
commit 1225baf116
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2018-08-08 John Ericson <john.ericson@obsidian.systems>
* config.sub: Don't need 'os=${os:-none}' defaults because that is
already the default.
2018-08-08 John Ericson <john.ericson@obsidian.systems>
* testsuiteb/config-sub.sh (run_config_sub_idempotent): New.

4
config.sub vendored
View File

@ -658,13 +658,11 @@ case $basic_machine in
;;
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
basic_machine=$basic_machine-unknown
os=${os:-none}
;;
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
;;
m9s12z | m68hcs12z | hcs12z | s12z)
basic_machine=s12z-unknown
os=${os:-none}
;;
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
basic_machine=s12z-`echo "$basic_machine" | sed 's/^[^-]*-//'`
@ -677,7 +675,6 @@ case $basic_machine in
;;
xgate)
basic_machine=$basic_machine-unknown
os=${os:-none}
;;
xgate-*)
;;
@ -1233,7 +1230,6 @@ case $basic_machine in
;;
none)
basic_machine=none-none
os=${os:-none}
;;
# Here we handle the default manufacturer of certain CPU types. It is in