mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -4,25 +4,27 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCURL_VERSION = 7.72.0
|
||||
LIBCURL_VERSION = 7.87.0
|
||||
LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz
|
||||
LIBCURL_SITE = https://curl.haxx.se/download
|
||||
LIBCURL_SITE = https://curl.se/download
|
||||
LIBCURL_DEPENDENCIES = host-pkgconf \
|
||||
$(if $(BR2_PACKAGE_ZLIB),zlib) \
|
||||
$(if $(BR2_PACKAGE_RTMPDUMP),rtmpdump)
|
||||
LIBCURL_LICENSE = curl
|
||||
LIBCURL_LICENSE_FILES = COPYING
|
||||
LIBCURL_CPE_ID_VENDOR = haxx
|
||||
LIBCURL_CPE_ID_PRODUCT = libcurl
|
||||
LIBCURL_INSTALL_STAGING = YES
|
||||
|
||||
# We disable NTLM support because it uses fork(), which doesn't work
|
||||
# on non-MMU platforms. Moreover, this authentication method is
|
||||
# probably almost never used. See
|
||||
# http://curl.haxx.se/docs/manpage.html#--ntlm.
|
||||
# http://curl.se/docs/manpage.html#--ntlm.
|
||||
# Likewise, there is no compiler on the target, so libcurl-option (to
|
||||
# generate C code) isn't very useful
|
||||
LIBCURL_CONF_OPTS = --disable-manual --disable-ntlm-wb \
|
||||
--enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug \
|
||||
--disable-libcurl-option
|
||||
--with-random=/dev/urandom --disable-curldebug \
|
||||
--disable-libcurl-option --disable-ldap --disable-ldaps
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBCURL_CONF_OPTS += --enable-threaded-resolver
|
||||
@@ -30,6 +32,16 @@ else
|
||||
LIBCURL_CONF_OPTS += --disable-threaded-resolver
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
LIBCURL_CONF_OPTS += LIBS=-latomic
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_1),)
|
||||
# Even though stdatomic.h does exist, link fails for __atomic_exchange_1
|
||||
# Work around this by pretending atomics aren't available.
|
||||
LIBCURL_CONF_ENV += ac_cv_header_stdatomic_h=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_VERBOSE),y)
|
||||
LIBCURL_CONF_OPTS += --enable-verbose
|
||||
else
|
||||
@@ -38,6 +50,10 @@ endif
|
||||
|
||||
LIBCURL_CONFIG_SCRIPTS = curl-config
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_TLS_NONE),y)
|
||||
LIBCURL_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y)
|
||||
LIBCURL_DEPENDENCIES += openssl
|
||||
# configure adds the cross openssl dir to LD_LIBRARY_PATH which screws up
|
||||
@@ -45,10 +61,10 @@ LIBCURL_DEPENDENCIES += openssl
|
||||
# Fix it by setting LD_LIBRARY_PATH to something sensible so those libs
|
||||
# are found first.
|
||||
LIBCURL_CONF_ENV += LD_LIBRARY_PATH=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)/lib:/usr/lib
|
||||
LIBCURL_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr \
|
||||
LIBCURL_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr \
|
||||
--with-ca-path=/etc/ssl/certs
|
||||
else
|
||||
LIBCURL_CONF_OPTS += --without-ssl
|
||||
LIBCURL_CONF_OPTS += --without-openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_BEARSSL),y)
|
||||
@@ -66,14 +82,6 @@ else
|
||||
LIBCURL_CONF_OPTS += --without-gnutls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_LIBNSS),y)
|
||||
LIBCURL_CONF_OPTS += --with-nss=$(STAGING_DIR)/usr
|
||||
LIBCURL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) `$(PKG_CONFIG_HOST_BINARY) nspr nss --cflags`"
|
||||
LIBCURL_DEPENDENCIES += libnss
|
||||
else
|
||||
LIBCURL_CONF_OPTS += --without-nss
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_MBEDTLS),y)
|
||||
LIBCURL_CONF_OPTS += --with-mbedtls=$(STAGING_DIR)/usr
|
||||
LIBCURL_DEPENDENCIES += mbedtls
|
||||
@@ -83,6 +91,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y)
|
||||
LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr
|
||||
LIBCURL_CONF_OPTS += --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
|
||||
LIBCURL_DEPENDENCIES += wolfssl
|
||||
else
|
||||
LIBCURL_CONF_OPTS += --without-wolfssl
|
||||
@@ -124,6 +133,13 @@ else
|
||||
LIBCURL_CONF_OPTS += --without-nghttp2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGSASL),y)
|
||||
LIBCURL_DEPENDENCIES += libgsasl
|
||||
LIBCURL_CONF_OPTS += --with-libgsasl
|
||||
else
|
||||
LIBCURL_CONF_OPTS += --without-libgsasl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT),y)
|
||||
LIBCURL_CONF_OPTS += --enable-cookies
|
||||
else
|
||||
@@ -141,8 +157,6 @@ LIBCURL_CONF_OPTS += \
|
||||
--enable-dict \
|
||||
--enable-gopher \
|
||||
--enable-imap \
|
||||
--enable-ldap \
|
||||
--enable-ldaps \
|
||||
--enable-pop3 \
|
||||
--enable-rtsp \
|
||||
--enable-smb \
|
||||
@@ -154,8 +168,6 @@ LIBCURL_CONF_OPTS += \
|
||||
--disable-dict \
|
||||
--disable-gopher \
|
||||
--disable-imap \
|
||||
--disable-ldap \
|
||||
--disable-ldaps \
|
||||
--disable-pop3 \
|
||||
--disable-rtsp \
|
||||
--disable-smb \
|
||||
|
||||
Reference in New Issue
Block a user