summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorPrashanth Swaminathan <prashanthsw@google.com>2024-01-29 13:20:54 -0800
committerTomas Mraz <tomas@openssl.org>2024-02-05 10:08:23 +0100
commit2d321448b245a239c49a54e31cbd9d97a14b5d4e (patch)
treefc601e927c4c96eb5547c34da833786aacd7e213 /Configurations
parented0f79c7ae63f7f29c9bfce2e0f960f0803be350 (diff)
Add support in configuration for android-riscv64
Android is enabling support for the riscv64 ISA. Add a configuration option to support building for it, aligned with the existing linux-riscv64 configuration. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> (Merged from https://github.com/openssl/openssl/pull/23427)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/15-android.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/Configurations/15-android.conf b/Configurations/15-android.conf
index 41ad9223e0..1de6b7a915 100644
--- a/Configurations/15-android.conf
+++ b/Configurations/15-android.conf
@@ -12,6 +12,7 @@
arm64 => "aarch64-linux-android",
mips => "mipsel-linux-android",
mips64 => "mips64el-linux-android",
+ riscv64 => "riscv64-linux-android",
x86 => "i686-linux-android",
x86_64 => "x86_64-linux-android",
);
@@ -270,6 +271,12 @@ my %targets = (
perlasm_scheme => "elf",
},
+ "android-riscv64" => {
+ inherit_from => [ "android" ],
+ asm_arch => 'riscv64',
+ perlasm_scheme => "linux64",
+ },
+
####################################################################
# Backward compatible targets, (might) require $CROSS_SYSROOT
#