From 2d321448b245a239c49a54e31cbd9d97a14b5d4e Mon Sep 17 00:00:00 2001 From: Prashanth Swaminathan Date: Mon, 29 Jan 2024 13:20:54 -0800 Subject: 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 Reviewed-by: Todd Short (Merged from https://github.com/openssl/openssl/pull/23427) --- Configurations/15-android.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Configurations') 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 # -- cgit v1.2.3