The branch master has been updated via c2d1ad0e048dd3bfa60e6aa0b5ee343cc6d97a15 (commit) from 606c79e29bbc26c27c3b85cc52fe7d72051184de (commit)
- Log ----------------------------------------------------------------- commit c2d1ad0e048dd3bfa60e6aa0b5ee343cc6d97a15 Author: Piotr Kubaj <pku...@freebsd.org> Date: Sat Dec 18 15:21:51 2021 +0100 Add support for BSD-riscv64 target Reviewed-by: Tomas Mraz <to...@openssl.org> Reviewed-by: Ben Kaduk <ka...@mit.edu> Reviewed-by: Paul Dale <pa...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17306) ----------------------------------------------------------------------- Summary of changes: Configurations/10-main.conf | 7 +++++++ util/perl/OpenSSL/config.pm | 1 + 2 files changed, 8 insertions(+) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 071b1e5abe..ba224fba84 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -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", diff --git a/util/perl/OpenSSL/config.pm b/util/perl/OpenSSL/config.pm index 50efef423a..fd4cce3c25 100755 --- a/util/perl/OpenSSL/config.pm +++ b/util/perl/OpenSSL/config.pm @@ -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" } ],