summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeijie Gao <hackpascal@gmail.com>2024-01-09 15:54:50 +0800
committerChuanhong Guo <gch981213@gmail.com>2024-05-04 14:14:24 +0800
commit33cd87079b926d95a7bd85fdcd7614e869bd2851 (patch)
tree4c7f2ed4930babe3ae277db29e8c56206a555957
parentb98355ed0fc488876c24c2649f289a3934dc8854 (diff)
downloadopenwrt-33cd87079b926d95a7bd85fdcd7614e869bd2851.tar.gz
openwrt-33cd87079b926d95a7bd85fdcd7614e869bd2851.tar.bz2
openwrt-33cd87079b926d95a7bd85fdcd7614e869bd2851.zip
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 <hackpascal@gmail.com>
-rw-r--r--package/libs/openssl/patches/110-openwrt_targets.patch5
1 files changed, 4 insertions, 1 deletions
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 <cote2004-github@yahoo.com>
--- /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 <cote2004-github@yahoo.com>
+ "linux-i386-openwrt" => {
+ inherit_from => [ "linux-x86", "openwrt" ],
+ },
++ "linux-loongarch64-openwrt" => {
++ inherit_from => [ "linux64-loongarch64", "openwrt" ],
++ },
+ "linux-mips-openwrt" => {
+ inherit_from => [ "linux-mips32", "openwrt" ],
+ },