Recognize Fiwix

$ make check
cd testsuite && bash config-guess.sh && rm uname
PASS: config.guess checks (137 tests)
cd testsuite && bash config-sub.sh
PASS: config.sub checks (882 tests)
PASS: config.sub idempotency checks (819 tests)
PASS: config.sub canonicalise each config.guess testcase (137 tests)

* config.guess (i*86:Fiwix:*:*): Recognize.
* config.sub (fiwix*): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for Fiwix.
* testsuite/config-sub.data (i386-fiwix): New test.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
Jordi Sanfeliu 2021-10-27 14:35:57 +00:00 committed by Dmitry V. Levin
parent 9428e344e6
commit a013aac61e
6 changed files with 11 additions and 5 deletions

5
config.guess vendored
View File

@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2021-06-03'
timestamp='2021-10-27'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -1522,6 +1522,9 @@ EOF
i*86:rdos:*:*)
GUESS=$UNAME_MACHINE-pc-rdos
;;
i*86:Fiwix:*:*)
GUESS=$UNAME_MACHINE-pc-fiwix
;;
*:AROS:*:*)
GUESS=$UNAME_MACHINE-unknown-aros
;;

5
config.sub vendored
View File

@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2021-08-14'
timestamp='2021-20-27'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -1748,7 +1748,8 @@ case $os in
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
| fiwix* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH CONFIG.GUESS "1" "June 2021" "GNU config.guess (2021-06-03)" "User Commands"
.TH CONFIG.GUESS "1" "October 2021" "GNU config.guess (2021-10-27)" "User Commands"
.SH NAME
config.guess \- guess the build system triplet
.SH SYNOPSIS

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH CONFIG.SUB "1" "August 2021" "GNU config.sub (2021-08-14)" "User Commands"
.TH CONFIG.SUB "1" "October 2021" "GNU config.sub (2021-20-27)" "User Commands"
.SH NAME
config.sub \- validate and canonicalize a configuration triplet
.SH SYNOPSIS

View File

@ -73,6 +73,7 @@ i386 | 12.1 | AROS | ignored | ignored | i386-unknown-aros
i386 | 14.0 | Darwin | ignored | i386 | i386-apple-darwin14.0
i386 | 4.0 | DYNIX/ptx | ignored | ignored | i386-sequent-sysv4
i386 | 4.2 | LynxOS | ignored | ignored | i386-unknown-lynxos4.2
i386 | ignored | Fiwix | ignored | ignored | i386-pc-fiwix
i386 | ignored | VOS | ignored | ignored | i386-stratus-vos
i586 | 1.0 | SolidBSD | ignored | ignored | i586-unknown-solidbsd1.0
i586 | 5.0.0 | skyos | ignored | ignored | i586-pc-skyos5.0.0

View File

@ -262,6 +262,7 @@ i386-cloudabi i386-pc-cloudabi
i386-drops1.0 i386-pc-drops1.0
i386-elf i386-pc-elf
i386-es i386-pc-es
i386-fiwix i386-pc-fiwix
i386-freebsd i386-pc-freebsd
i386-glidix i386-pc-glidix
i386-haiku i386-pc-haiku