mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
libcurl: optional verbose strings config
This patch enables a config to set --enable-verbose during the configuration of libcurl. The option is triggered by setting BR2_PACKAGE_LIBCURL_VERBOSE. Signed-off-by: Judd Meinders <judd.meinders@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
21d3f12289
commit
4ac8510e12
@@ -13,4 +13,9 @@ config BR2_PACKAGE_CURL
|
|||||||
help
|
help
|
||||||
Install curl binary as well
|
Install curl binary as well
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBCURL_VERBOSE
|
||||||
|
bool "enable verbose strings"
|
||||||
|
help
|
||||||
|
Enable verbose text strings
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -19,8 +19,15 @@ LIBCURL_INSTALL_STAGING = YES
|
|||||||
# on non-MMU platforms. Moreover, this authentication method is
|
# on non-MMU platforms. Moreover, this authentication method is
|
||||||
# probably almost never used. See
|
# probably almost never used. See
|
||||||
# http://curl.haxx.se/docs/manpage.html#--ntlm.
|
# http://curl.haxx.se/docs/manpage.html#--ntlm.
|
||||||
LIBCURL_CONF_OPTS = --disable-verbose --disable-manual --disable-ntlm-wb \
|
LIBCURL_CONF_OPTS = --disable-manual --disable-ntlm-wb \
|
||||||
--enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug
|
--enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBCURL_VERBOSE),y)
|
||||||
|
LIBCURL_CONF_OPTS += --enable-verbose
|
||||||
|
else
|
||||||
|
LIBCURL_CONF_OPTS += --disable-verbose
|
||||||
|
endif
|
||||||
|
|
||||||
LIBCURL_CONFIG_SCRIPTS = curl-config
|
LIBCURL_CONFIG_SCRIPTS = curl-config
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user