aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvalentinThomazic <valentin.thomazic@thalesgroup.com>2023-11-17 22:38:48 +0100
committerGitHub <noreply@github.com>2023-11-17 13:38:48 -0800
commit710c23a5bbeecf171ac86d6e39d275af8f176354 (patch)
tree851e6c470d2d883d7dd233fcce1a527f62636512
parentacbe166dac9d1db752ee95f61e65ca82bb875afb (diff)
downloadpk-710c23a5bbeecf171ac86d6e39d275af8f176354.zip
pk-710c23a5bbeecf171ac86d6e39d275af8f176354.tar.gz
pk-710c23a5bbeecf171ac86d6e39d275af8f176354.tar.bz2
add support for "riscv-none-*" host name (#309)
-rwxr-xr-xscripts/config.sub5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/config.sub b/scripts/config.sub
index 9ccf09a..5cc00f7 100755
--- a/scripts/config.sub
+++ b/scripts/config.sub
@@ -300,7 +300,7 @@ case $basic_machine in
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pru \
| pyramid \
- | riscv32 | riscv64 \
+ | riscv | riscv32 | riscv64 \
| rl78 | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
@@ -1314,6 +1314,9 @@ case $basic_machine in
*-unknown)
# Make sure to match an already-canonicalized machine name.
;;
+ *-none)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
*)
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
exit 1