mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00
config.sub: add Zephyr RTOS support
This adds the Zephyr RTOS targets in preparation for implementing the Zephyr RTOS-specific toolchain support. $ make check cd testsuite && bash config-guess.sh && rm uname PASS: config.guess checks (136 tests) cd testsuite && bash config-sub.sh PASS: config.sub checks (880 tests) PASS: config.sub idempotency checks (817 tests) PASS: config.sub canonicalise each config.guess testcase (136 tests) * config.sub (zephyr*): Recognize. * doc/config.sub.1: Regenerate. * testsuite/config-sub.data: Add testcases for *-zephyr. Signed-off-by: Stephanos Ioannidis <root@stephanos.io> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
parent
805517123c
commit
401e1a7dd1
8
config.sub
vendored
8
config.sub
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||
|
||||
timestamp='2021-07-03'
|
||||
timestamp='2021-07-06'
|
||||
|
||||
# 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
|
||||
@ -172,6 +172,10 @@ case $1 in
|
||||
basic_machine=$field1
|
||||
basic_os=$field2
|
||||
;;
|
||||
zephyr*)
|
||||
basic_machine=$field1-unknown
|
||||
basic_os=$field2
|
||||
;;
|
||||
# Manufacturers
|
||||
dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
|
||||
| att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
|
||||
@ -1738,7 +1742,7 @@ 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*)
|
||||
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
|
||||
;;
|
||||
# This one is extra strict with allowed versions
|
||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||
.TH CONFIG.SUB "1" "July 2021" "GNU config.sub (2021-07-03)" "User Commands"
|
||||
.TH CONFIG.SUB "1" "July 2021" "GNU config.sub (2021-07-06)" "User Commands"
|
||||
.SH NAME
|
||||
config.sub \- validate and canonicalize a configuration triplet
|
||||
.SH SYNOPSIS
|
||||
|
@ -19,6 +19,7 @@ aarch64-linux aarch64-unknown-linux-gnu
|
||||
aarch64-unknown-elf aarch64-unknown-elf
|
||||
aarch64-unknown-linux aarch64-unknown-linux-gnu
|
||||
aarch64-wrs-vxworks aarch64-wrs-vxworks
|
||||
aarch64-zephyr aarch64-unknown-zephyr
|
||||
aarch64_be aarch64_be-unknown-none
|
||||
aarch64_be-bme aarch64_be-unknown-bme
|
||||
aarch64_be-elf aarch64_be-unknown-elf
|
||||
@ -61,12 +62,15 @@ apollo68bsd m68k-apollo-bsd
|
||||
arc arc-unknown-none
|
||||
arc-elf arc-unknown-elf
|
||||
arc-linux arc-unknown-linux-gnu
|
||||
arc-zephyr arc-unknown-zephyr
|
||||
arc32 arc32-unknown-none
|
||||
arc32-elf arc32-unknown-elf
|
||||
arc32-linux arc32-unknown-linux-gnu
|
||||
arc32-zephyr arc32-unknown-zephyr
|
||||
arc64 arc64-unknown-none
|
||||
arc64-elf arc64-unknown-elf
|
||||
arc64-linux arc64-unknown-linux-gnu
|
||||
arc64-zephyr arc64-unknown-zephyr
|
||||
arceb arceb-unknown-none
|
||||
arceb-elf arceb-unknown-elf
|
||||
arceb-linux arceb-unknown-linux-gnu
|
||||
@ -84,6 +88,7 @@ arm-uclinux-uclibcgnueabi arm-unknown-uclinux-uclibcgnueabi
|
||||
arm-unknown-netbsdelf7.0 arm-unknown-netbsdelf7.0
|
||||
arm-unknown-none-eabi arm-unknown-none-eabi
|
||||
arm-unknown-riscos arm-unknown-riscos
|
||||
arm-zephyr arm-unknown-zephyr
|
||||
arm64-apple-darwin20.0.0 aarch64-apple-darwin20.0.0
|
||||
arm64-apple-ios aarch64-apple-ios
|
||||
armbe armbe-unknown-none
|
||||
@ -295,6 +300,7 @@ i586-auroraux5.0 i586-pc-auroraux5.0
|
||||
i586-elf i586-pc-elf
|
||||
i586-rdos i586-pc-rdos
|
||||
i586-skyos i586-pc-skyos
|
||||
i586-zephyr i586-unknown-zephyr
|
||||
i686-android-linux i686-unknown-linux-android
|
||||
i686-dicos i686-pc-dicos
|
||||
i686-elf i686-pc-elf
|
||||
@ -305,6 +311,7 @@ i686-os2-emx i686-pc-os2-emx
|
||||
i686-wrs-vxworks i686-wrs-vxworks
|
||||
i686-wrs-vxworks-simlinux i686-wrs-vxworks-simlinux
|
||||
i686-wrs-vxworks-simwindows i686-wrs-vxworks-simwindows
|
||||
i686-zephyr i686-unknown-zephyr
|
||||
i786-elf i786-pc-elf
|
||||
i860 i860-unknown-sysv
|
||||
i960 i960-unknown-none
|
||||
@ -389,6 +396,7 @@ mingw64 x86_64-pc-mingw64
|
||||
miniframe m68000-convergent-sysv
|
||||
mips mips-unknown-elf
|
||||
mips-sde-elf mips-sde-elf
|
||||
mips-zephyr mips-unknown-zephyr
|
||||
mips16 mips16-unknown-elf
|
||||
mips64 mips64-unknown-elf
|
||||
mips64eb mips64eb-unknown-elf
|
||||
@ -497,6 +505,7 @@ nios nios-unknown-none
|
||||
nios-elf nios-unknown-elf
|
||||
nios2 nios2-unknown-none
|
||||
nios2-elf nios2-unknown-elf
|
||||
nios2-zephyr nios2-unknown-zephyr
|
||||
nios2eb nios2eb-unknown-none
|
||||
nios2eb-elf nios2eb-unknown-elf
|
||||
nios2el nios2el-unknown-none
|
||||
@ -584,6 +593,7 @@ ppc powerpc-unknown-none
|
||||
ppc-beos powerpc-be-beos
|
||||
ppc-elf powerpc-unknown-elf
|
||||
ppc-none-elf powerpc-none-elf
|
||||
ppc-zephyr powerpc-unknown-zephyr
|
||||
ppcbe powerpc-unknown-none
|
||||
ppcbe-elf powerpc-unknown-elf
|
||||
ppcbe-none-elf powerpc-none-elf
|
||||
@ -606,12 +616,14 @@ riscv-company-hcos riscv-company-hcos
|
||||
riscv-elf riscv-unknown-elf
|
||||
riscv-linux riscv-unknown-linux-gnu
|
||||
riscv-twizzler riscv-unknown-twizzler
|
||||
riscv-zephyr riscv-unknown-zephyr
|
||||
riscv32 riscv32-unknown-none
|
||||
riscv32-company-elf riscv32-company-elf
|
||||
riscv32-company-hcos riscv32-company-hcos
|
||||
riscv32-elf riscv32-unknown-elf
|
||||
riscv32-linux riscv32-unknown-linux-gnu
|
||||
riscv32-wrs-vxworks riscv32-wrs-vxworks
|
||||
riscv32-zephyr riscv32-unknown-zephyr
|
||||
riscv32be riscv32be-unknown-none
|
||||
riscv32be-company-elf riscv32be-company-elf
|
||||
riscv32be-company-hcos riscv32be-company-hcos
|
||||
@ -623,6 +635,7 @@ riscv64-elf riscv64-unknown-elf
|
||||
riscv64-hcos riscv64-unknown-hcos
|
||||
riscv64-linux riscv64-unknown-linux-gnu
|
||||
riscv64-wrs-vxworks riscv64-wrs-vxworks
|
||||
riscv64-zephyr riscv64-unknown-zephyr
|
||||
riscv64be riscv64be-unknown-none
|
||||
riscv64be-company-elf riscv64be-company-elf
|
||||
riscv64be-company-linux riscv64be-company-linux-gnu
|
||||
@ -705,6 +718,7 @@ shle-elf shle-unknown-elf
|
||||
simso-wrs sparclite-wrs-vxworks
|
||||
sparc sparc-sun-sunos4.1.1
|
||||
sparc-haiku sparc-unknown-haiku
|
||||
sparc-zephyr sparc-unknown-zephyr
|
||||
sparc64 sparc64-unknown-none
|
||||
sparc64-linux sparc64-unknown-linux-gnu
|
||||
sparc64b sparc64b-unknown-none
|
||||
@ -841,6 +855,7 @@ x86_64-windows x86_64-pc-windows
|
||||
x86_64-wrs-vxworks x86_64-wrs-vxworks
|
||||
x86_64-wrs-vxworks-simlinux x86_64-wrs-vxworks-simlinux
|
||||
x86_64-wrs-vxworks-simwindows x86_64-wrs-vxworks-simwindows
|
||||
x86_64-zephyr x86_64-unknown-zephyr
|
||||
xbox i686-pc-mingw32
|
||||
xc16x xc16x-unknown-none
|
||||
xc16x-elf xc16x-unknown-elf
|
||||
@ -857,6 +872,7 @@ xstormy16 xstormy16-unknown-none
|
||||
xtensa xtensa-unknown-none
|
||||
xtensa-elf xtensa-unknown-elf
|
||||
xtensa-linux xtensa-unknown-linux-gnu
|
||||
xtensa-zephyr xtensa-unknown-zephyr
|
||||
xtensa_dc232b-linux xtensa_dc232b-unknown-linux-gnu
|
||||
ymp ymp-cray-unicos
|
||||
z80 z80-unknown-none
|
||||
|
Loading…
x
Reference in New Issue
Block a user