* [ptxdist] [PATCH 2/2] libcurl: add option for tftp support
@ 2012-05-28 12:42 Bart vdr. Meulen
2012-05-31 15:33 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Bart vdr. Meulen @ 2012-05-28 12:42 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH 2/2] libcurl: add option for tftp support
2012-05-28 12:42 [ptxdist] [PATCH 2/2] libcurl: add option for tftp support Bart vdr. Meulen
@ 2012-05-31 15:33 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2012-05-31 15:33 UTC (permalink / raw)
To: ptxdist
On Mon, May 28, 2012 at 02:42:59PM +0200, Bart vdr. Meulen wrote:
> 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)
no whitespace changes like this please.
Michael
>
> #
> # 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
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-31 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-28 12:42 [ptxdist] [PATCH 2/2] libcurl: add option for tftp support Bart vdr. Meulen
2012-05-31 15:33 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox