mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00
config.sub: add Linux Relibc Target
$ 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 (881 tests) PASS: config.sub idempotency checks (818 tests) PASS: config.sub canonicalise each config.guess testcase (136 tests) * config.sub (relibc*): Recognize. * doc/config.sub.1: Regenerate. * testsuite/config-sub.data (x86_64-linux-relibc): New test. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
parent
401e1a7dd1
commit
2707e389a5
9
config.sub
vendored
9
config.sub
vendored
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||||
|
|
||||||
timestamp='2021-07-06'
|
timestamp='2021-08-04'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# 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
|
# under the terms of the GNU General Public License as published by
|
||||||
@ -1701,7 +1701,7 @@ fi
|
|||||||
# Now, validate our (potentially fixed-up) OS.
|
# Now, validate our (potentially fixed-up) OS.
|
||||||
case $os in
|
case $os in
|
||||||
# Sometimes we do "kernel-libc", so those need to count as OSes.
|
# Sometimes we do "kernel-libc", so those need to count as OSes.
|
||||||
musl* | newlib* | uclibc*)
|
musl* | newlib* | relibc* | uclibc*)
|
||||||
;;
|
;;
|
||||||
# Likewise for "kernel-abi"
|
# Likewise for "kernel-abi"
|
||||||
eabi* | gnueabi*)
|
eabi* | gnueabi*)
|
||||||
@ -1759,11 +1759,12 @@ esac
|
|||||||
# As a final step for OS-related things, validate the OS-kernel combination
|
# As a final step for OS-related things, validate the OS-kernel combination
|
||||||
# (given a valid OS), if there is a kernel.
|
# (given a valid OS), if there is a kernel.
|
||||||
case $kernel-$os in
|
case $kernel-$os in
|
||||||
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | linux-musl* | linux-uclibc* )
|
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
|
||||||
|
| linux-musl* | linux-relibc* | linux-uclibc* )
|
||||||
;;
|
;;
|
||||||
uclinux-uclibc* )
|
uclinux-uclibc* )
|
||||||
;;
|
;;
|
||||||
-dietlibc* | -newlib* | -musl* | -uclibc* )
|
-dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
|
||||||
# These are just libc implementations, not actual OSes, and thus
|
# These are just libc implementations, not actual OSes, and thus
|
||||||
# require a kernel.
|
# require a kernel.
|
||||||
echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
|
echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||||
.TH CONFIG.SUB "1" "July 2021" "GNU config.sub (2021-07-06)" "User Commands"
|
.TH CONFIG.SUB "1" "August 2021" "GNU config.sub (2021-08-04)" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
config.sub \- validate and canonicalize a configuration triplet
|
config.sub \- validate and canonicalize a configuration triplet
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -841,6 +841,7 @@ x86_64-ericsson-dicos x86_64-ericsson-dicos
|
|||||||
x86_64-fuchsia x86_64-pc-fuchsia
|
x86_64-fuchsia x86_64-pc-fuchsia
|
||||||
x86_64-genode x86_64-pc-genode
|
x86_64-genode x86_64-pc-genode
|
||||||
x86_64-glidix x86_64-pc-glidix
|
x86_64-glidix x86_64-pc-glidix
|
||||||
|
x86_64-linux-relibc x86_64-pc-linux-relibc
|
||||||
x86_64-nto x86_64-pc-nto-qnx
|
x86_64-nto x86_64-pc-nto-qnx
|
||||||
x86_64-os108 x86_64-pc-os108
|
x86_64-os108 x86_64-pc-os108
|
||||||
x86_64-pc-ptx x86_64-pc-ptx
|
x86_64-pc-ptx x86_64-pc-ptx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user