From 710c23a5bbeecf171ac86d6e39d275af8f176354 Mon Sep 17 00:00:00 2001 From: valentinThomazic Date: Fri, 17 Nov 2023 22:38:48 +0100 Subject: add support for "riscv-none-*" host name (#309) --- scripts/config.sub | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.1