From: "Bart vdr. Meulen" <bartvdrmeulen@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/2] libcurl: add option for tftp support
Date: Mon, 28 May 2012 14:42:59 +0200 [thread overview]
Message-ID: <1338208981-8681-33-git-send-email-bartvdrmeulen@gmail.com> (raw)
From: "Bart vdr. Meulen" <bartvdrmeulen@gmail.com>
Add a config option to enable tftp support in libcurl
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
rules/libcurl.in | 3 +++
rules/libcurl.make | 8 +++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/rules/libcurl.in b/rules/libcurl.in
index 4ab928d..0ad7fb4 100644
--- a/rules/libcurl.in
+++ b/rules/libcurl.in
@@ -32,6 +32,9 @@ config LIBCURL_FTP
bool "ftp"
default y
+config LIBCURL_TFTP
+ bool "tftp"
+
config LIBCURL_FILE
bool "file"
diff --git a/rules/libcurl.make b/rules/libcurl.make
index b9e68f1..a2e4d18 100644
--- a/rules/libcurl.make
+++ b/rules/libcurl.make
@@ -39,7 +39,7 @@ $(LIBCURL_SOURCE):
# ----------------------------------------------------------------------------
LIBCURL_PATH := PATH=$(CROSS_PATH)
-LIBCURL_ENV := $(CROSS_ENV)
+LIBCURL_ENV := $(CROSS_ENV)
#
# autoconf
@@ -92,6 +92,12 @@ else
LIBCURL_AUTOCONF += --disable-ftp
endif
+ifdef PTXCONF_LIBCURL_TFTP
+LIBCURL_AUTOCONF += --enable-tftp
+else
+LIBCURL_AUTOCONF += --disable-tftp
+endif
+
ifdef PTXCONF_LIBCURL_FILE
LIBCURL_AUTOCONF += --enable-file
else
--
1.7.9.5
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2012-05-28 12:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-28 12:42 Bart vdr. Meulen [this message]
2012-05-31 15:33 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1338208981-8681-33-git-send-email-bartvdrmeulen@gmail.com \
--to=bartvdrmeulen@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox