From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-f172.google.com ([209.85.212.172]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SYzRz-00017E-5P for ptxdist@pengutronix.de; Mon, 28 May 2012 14:53:50 +0200 Received: by wibhj8 with SMTP id hj8so1185638wib.7 for ; Mon, 28 May 2012 05:53:25 -0700 (PDT) From: "Bart vdr. Meulen" Date: Mon, 28 May 2012 14:42:59 +0200 Message-Id: <1338208981-8681-33-git-send-email-bartvdrmeulen@gmail.com> Subject: [ptxdist] [PATCH 2/2] libcurl: add option for tftp support Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de From: "Bart vdr. Meulen" Add a config option to enable tftp support in libcurl Signed-off-by: Bart vdr. Meulen --- 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