Skip to content

Commit

Permalink
Add support for BSD-riscv64 target
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Ben Kaduk <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from openssl#17306)
  • Loading branch information
pkubaj authored and paulidale committed Dec 21, 2021
1 parent 606c79e commit c2d1ad0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Configurations/10-main.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,13 @@ my %targets = (
perlasm_scheme => "linux64le",
},

# riscv64 below refers to contemporary RISCV Architecture
# specifications,
"BSD-riscv64" => {
inherit_from => [ "BSD-generic64"],
perlasm_scheme => "linux64",
},

"bsdi-elf-gcc" => {
inherit_from => [ "BASE_unix" ],
CC => "gcc",
Expand Down
1 change: 1 addition & 0 deletions util/perl/OpenSSL/config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ EOF
[ 'powerpc-.*-.*bsd.*', { target => "BSD-ppc" } ],
[ 'powerpc64-.*-.*bsd.*', { target => "BSD-ppc64" } ],
[ 'powerpc64le-.*-.*bsd.*', { target => "BSD-ppc64le" } ],
[ 'riscv64-.*-.*bsd.*', { target => "BSD-riscv64" } ],
[ 'sparc64-.*-.*bsd.*', { target => "BSD-sparc64" } ],
[ 'ia64-.*-.*bsd.*', { target => "BSD-ia64" } ],
[ 'x86_64-.*-dragonfly.*', { target => "BSD-x86_64" } ],
Expand Down

0 comments on commit c2d1ad0

Please sign in to comment.