From: Piotr Kubaj Date: Sat, 18 Dec 2021 14:21:51 +0000 (+0100) Subject: Add support for BSD-riscv64 target X-Git-Tag: openssl-3.2.0-alpha1~3172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2d1ad0e048dd3bfa60e6aa0b5ee343cc6d97a15;p=thirdparty%2Fopenssl.git Add support for BSD-riscv64 target Reviewed-by: Tomas Mraz Reviewed-by: Ben Kaduk Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/17306) --- 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" } ],