aboutsummaryrefslogtreecommitdiff
path: root/scripts/config.sub
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/config.sub')
-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