mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCURL_VERSION = 7.65.3
|
||||
LIBCURL_VERSION = 7.72.0
|
||||
LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz
|
||||
LIBCURL_SITE = https://curl.haxx.se/download
|
||||
LIBCURL_DEPENDENCIES = host-pkgconf \
|
||||
@@ -22,7 +22,7 @@ LIBCURL_INSTALL_STAGING = YES
|
||||
# generate C code) isn't very useful
|
||||
LIBCURL_CONF_OPTS = --disable-manual --disable-ntlm-wb \
|
||||
--enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug \
|
||||
--without-polarssl --disable-libcurl-option
|
||||
--disable-libcurl-option
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBCURL_CONF_OPTS += --enable-threaded-resolver
|
||||
@@ -51,6 +51,13 @@ else
|
||||
LIBCURL_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_BEARSSL),y)
|
||||
LIBCURL_CONF_OPTS += --with-bearssl=$(STAGING_DIR)/usr
|
||||
LIBCURL_DEPENDENCIES += bearssl
|
||||
else
|
||||
LIBCURL_CONF_OPTS += --without-bearssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_GNUTLS),y)
|
||||
LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \
|
||||
--with-ca-fallback
|
||||
@@ -74,6 +81,13 @@ else
|
||||
LIBCURL_CONF_OPTS += --without-mbedtls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y)
|
||||
LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr
|
||||
LIBCURL_DEPENDENCIES += wolfssl
|
||||
else
|
||||
LIBCURL_CONF_OPTS += --without-wolfssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_C_ARES),y)
|
||||
LIBCURL_DEPENDENCIES += c-ares
|
||||
LIBCURL_CONF_OPTS += --enable-ares
|
||||
@@ -155,7 +169,7 @@ define LIBCURL_FIX_DOT_PC
|
||||
endef
|
||||
LIBCURL_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_LIBCURL_OPENSSL),LIBCURL_FIX_DOT_PC)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CURL),)
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_CURL),)
|
||||
define LIBCURL_TARGET_CLEANUP
|
||||
rm -rf $(TARGET_DIR)/usr/bin/curl
|
||||
endef
|
||||
@@ -170,7 +184,6 @@ HOST_LIBCURL_CONF_OPTS = \
|
||||
--with-ssl \
|
||||
--without-gnutls \
|
||||
--without-mbedtls \
|
||||
--without-polarssl \
|
||||
--without-nss
|
||||
|
||||
HOST_LIBCURL_POST_PATCH_HOOKS += LIBCURL_FIX_DOT_PC
|
||||
|
||||
Reference in New Issue
Block a user