[openwrt/openwrt] wolfssl: make shared again
LEDE Commits
lede-commits at lists.infradead.org
Sat Jul 30 03:40:56 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0063e3421de4575e088bb428e758751931bbe6fd
commit 0063e3421de4575e088bb428e758751931bbe6fd
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Sun Jul 24 13:23:36 2022 +0200
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 at mein.io>
---
package/libs/wolfssl/Config.in | 1 -
package/libs/wolfssl/Makefile | 1 -
2 files changed, 2 deletions(-)
diff --git a/package/libs/wolfssl/Config.in b/package/libs/wolfssl/Config.in
index 332a151550..4b9db4d107 100644
--- a/package/libs/wolfssl/Config.in
+++ b/package/libs/wolfssl/Config.in
@@ -72,7 +72,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 55928f1446..b0e100673c 100644
--- a/package/libs/wolfssl/Makefile
+++ b/package/libs/wolfssl/Makefile
@@ -61,7 +61,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
More information about the lede-commits
mailing list