aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-07-24 13:23:36 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-07-30 17:22:16 +0200
commit8b6b73d0e895bbbfc448bea9fb5f3751593d7865 (patch)
treef797be2b5fd599ff0ff5fe97d70759f2b0862571 /package
parent7ca89e11873a1b7508f7a6a4d040cb93e2dc59f6 (diff)
downloadupstream-8b6b73d0e895bbbfc448bea9fb5f3751593d7865.tar.gz
upstream-8b6b73d0e895bbbfc448bea9fb5f3751593d7865.tar.bz2
upstream-8b6b73d0e895bbbfc448bea9fb5f3751593d7865.zip
wolfssl: make shared again
Disable the usage of target specific CPU crypto instructions by default to allow the package being shared again. Since WolfSSL does not offer a stable ABI or a long term support version suitable for OpenWrt release timeframes, we're forced to frequently update it which is greatly complicated by the package being nonshared. People who want or need CPU crypto instruction support can enable it in menuconfig while building custom images for the few platforms that support them. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 0063e3421de4575e088bb428e758751931bbe6fd)
Diffstat (limited to 'package')
-rw-r--r--package/libs/wolfssl/Config.in1
-rw-r--r--package/libs/wolfssl/Makefile1
2 files changed, 0 insertions, 2 deletions
diff --git a/package/libs/wolfssl/Config.in b/package/libs/wolfssl/Config.in
index 9a7a06d04f..025362ff6f 100644
--- a/package/libs/wolfssl/Config.in
+++ b/package/libs/wolfssl/Config.in
@@ -69,7 +69,6 @@ config WOLFSSL_ASM_CAPABLE
choice
prompt "Hardware Acceleration"
- default WOLFSSL_HAS_CPU_CRYPTO if WOLFSSL_ASM_CAPABLE && !TARGET_armvirt
default WOLFSSL_HAS_NO_HW
config WOLFSSL_HAS_NO_HW
diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile
index 486eaf70ae..f26c18bab1 100644
--- a/package/libs/wolfssl/Makefile
+++ b/package/libs/wolfssl/Makefile
@@ -60,7 +60,6 @@ endef
define Package/libwolfssl
$(call Package/libwolfssl/Default)
TITLE:=wolfSSL library
- PKGFLAGS:=nonshared
MENU:=1
PROVIDES:=libcyassl
DEPENDS:=+WOLFSSL_HAS_DEVCRYPTO:kmod-cryptodev +WOLFSSL_HAS_AFALG:kmod-crypto-user