From 33cd87079b926d95a7bd85fdcd7614e869bd2851 Mon Sep 17 00:00:00 2001 From: Weijie Gao Date: Tue, 9 Jan 2024 15:54:50 +0800 Subject: [PATCH] openssl: add linux64-loongarch64 into the targets list Add "linux64-loongarch64-openwrt" into openssl configurations to enable building on loongarch64 machines. Signed-off-by: Weijie Gao --- package/libs/openssl/patches/110-openwrt_targets.patch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/libs/openssl/patches/110-openwrt_targets.patch b/package/libs/openssl/patches/110-openwrt_targets.patch index a97c603fa7..d02bc03fb8 100644 --- a/package/libs/openssl/patches/110-openwrt_targets.patch +++ b/package/libs/openssl/patches/110-openwrt_targets.patch @@ -9,7 +9,7 @@ Signed-off-by: Eneas U de Queiroz --- /dev/null +++ b/Configurations/25-openwrt.conf -@@ -0,0 +1,56 @@ +@@ -0,0 +1,59 @@ +## Openwrt "CONFIG_ARCH" matching targets. + +# The targets need to end in '-openwrt' for the AFALG patch to work @@ -34,6 +34,9 @@ Signed-off-by: Eneas U de Queiroz + "linux-i386-openwrt" => { + inherit_from => [ "linux-x86", "openwrt" ], + }, ++ "linux-loongarch64-openwrt" => { ++ inherit_from => [ "linux64-loongarch64", "openwrt" ], ++ }, + "linux-mips-openwrt" => { + inherit_from => [ "linux-mips32", "openwrt" ], + }, -- 2.30.2