summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-10-27 15:09:16 +0000
committerCy Schubert <cy@FreeBSD.org>2020-10-27 15:09:16 +0000
commit4cb89f2eee3bb358f0491932ab0498b5319f4229 (patch)
treefc2691469564e7d7e552247f2b2c6e04dd7efb8a /config.sub
parent7973006f41cdaf144441d1a39f9f075053435e2f (diff)
downloadsrc-test2-4cb89f2eee3bb358f0491932ab0498b5319f4229.tar.gz
src-test2-4cb89f2eee3bb358f0491932ab0498b5319f4229.zip
Notes
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub16
1 files changed, 6 insertions, 10 deletions
diff --git a/config.sub b/config.sub
index 3d9a8dc3d5a7..9bc49a7e9223 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2020 Free Software Foundation, Inc.
-timestamp='2020-07-10'
+timestamp='2020-09-08'
# 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
@@ -1278,7 +1278,7 @@ esac
# Decode manufacturer-specific aliases for certain operating systems.
-if [ x$basic_os != x ]
+if test x$basic_os != x
then
# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
@@ -1367,13 +1367,7 @@ case $os in
os=psos
;;
qnx*)
- case $cpu in
- x86 | i*86)
- ;;
- *)
- os=nto-$os
- ;;
- esac
+ os=qnx
;;
hiux*)
os=hiuxwe2
@@ -1722,7 +1716,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* )
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
@@ -1741,6 +1735,8 @@ esac
case $kernel-$os in
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | linux-musl* | linux-uclibc* )
;;
+ uclinux-uclibc* )
+ ;;
-dietlibc* | -newlib* | -musl* | -uclibc* )
# These are just libc implementations, not actual OSes, and thus
# require a kernel.