diff options
author | valentinThomazic <valentin.thomazic@thalesgroup.com> | 2023-11-17 22:38:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 13:38:48 -0800 |
commit | 710c23a5bbeecf171ac86d6e39d275af8f176354 (patch) | |
tree | 851e6c470d2d883d7dd233fcce1a527f62636512 /scripts/config.sub | |
parent | acbe166dac9d1db752ee95f61e65ca82bb875afb (diff) | |
download | riscv-pk-710c23a5bbeecf171ac86d6e39d275af8f176354.zip riscv-pk-710c23a5bbeecf171ac86d6e39d275af8f176354.tar.gz riscv-pk-710c23a5bbeecf171ac86d6e39d275af8f176354.tar.bz2 |
add support for "riscv-none-*" host name (#309)
Diffstat (limited to 'scripts/config.sub')
-rwxr-xr-x | scripts/config.sub | 5 |
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 |