[openwrt/openwrt] wolfssl: add lighty support, skip crypttests

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 11 07:58:12 EST 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4e8a0014aa87645994382c7619e9181922f15aa4

commit 4e8a0014aa87645994382c7619e9181922f15aa4
Author: Eneas U de Queiroz <cotequeiroz at gmail.com>
AuthorDate: Sun Dec 6 23:43:47 2020 -0300

    wolfssl: add lighty support, skip crypttests
    
    Tnis adds the --enable-lighty option to configure, enabling the minimum
    API needed to run lighttpd, in the packages feed.  Size increase is
    about 120 bytes for arm_cortex-a9_vfpv3-d16.
    
    While at it, speed up build by disabling crypt bench/test.
    
    Signed-off-by: Eneas U de Queiroz <cotequeiroz at gmail.com>
---
 package/libs/wolfssl/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile
index dc8ca2b262..4b891d634a 100644
--- a/package/libs/wolfssl/Makefile
+++ b/package/libs/wolfssl/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=wolfssl
 PKG_VERSION:=4.5.0-stable
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/wolfSSL/wolfssl/archive/v$(PKG_VERSION)
@@ -61,9 +61,11 @@ TARGET_LDFLAGS += -flto
 
 # --enable-stunnel needed for OpenSSL API compatibility bits
 CONFIGURE_ARGS += \
+	--enable-lighty \
 	--enable-opensslextra \
 	--enable-sni \
 	--enable-stunnel \
+	--disable-crypttests \
 	--disable-examples \
 	--disable-jobserver \
 	--$(if $(CONFIG_IPV6),enable,disable)-ipv6 \



More information about the lede-commits mailing list