From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Sa7Np-0004yK-Q9 for ptxdist@pengutronix.de; Thu, 31 May 2012 17:33:53 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Sa7Np-0004EY-PE for ptxdist@pengutronix.de; Thu, 31 May 2012 17:33:53 +0200 Date: Thu, 31 May 2012 17:33:53 +0200 From: Michael Olbrich Message-ID: <20120531153353.GL10627@pengutronix.de> References: <1338208981-8681-33-git-send-email-bartvdrmeulen@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1338208981-8681-33-git-send-email-bartvdrmeulen@gmail.com> Subject: Re: [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: , 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 On Mon, May 28, 2012 at 02:42:59PM +0200, Bart vdr. Meulen wrote: > 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) 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