Skip to content

Commit

Permalink
wolfssl: make shared again
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jow- authored and hauke committed Jul 30, 2022
1 parent 7be62b1 commit 0063e34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion package/libs/wolfssl/Config.in
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion package/libs/wolfssl/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 0063e34

Please sign in to comment.