From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UKuqV-0005hm-Sl for ptxdist@pengutronix.de; Wed, 27 Mar 2013 19:13:11 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1UKuqT-0003R8-Q9 for ptxdist@pengutronix.de; Wed, 27 Mar 2013 19:13:09 +0100 Date: Wed, 27 Mar 2013 19:13:09 +0100 From: Michael Olbrich Message-ID: <20130327181309.GV1289@pengutronix.de> References: <1364230501-30659-1-git-send-email-h.feurstein@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1364230501-30659-1-git-send-email-h.feurstein@gmail.com> Subject: Re: [ptxdist] [PATCH] v4l-utils: make libjpeg dependency optional 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, Mar 25, 2013 at 05:55:01PM +0100, Hubert Feurstein wrote: > Signed-off-by: Hubert Feurstein > --- > rules/v4l-utils.in | 8 +++++++- > rules/v4l-utils.make | 4 ++++ > 2 files changed, 11 insertions(+), 1 deletion(-) > > diff --git a/rules/v4l-utils.in b/rules/v4l-utils.in > index 893b1e0..288ff75 100644 > --- a/rules/v4l-utils.in > +++ b/rules/v4l-utils.in > @@ -6,7 +6,7 @@ menuconfig V4L_UTILS > select LIBC_RT if V4L_UTILS_LIBV4LCONVERT > select LIBC_M if V4L_UTILS_LIBV4LCONVERT > select LIBC_PTHREAD if V4L_UTILS_LIBV4L2 > - select LIBJPEG if V4L_UTILS_LIBV4LCONVERT > + select LIBJPEG if V4L_UTILS_LIBV4LCONVERT_JPEG > help > Linux V4L2 and DVB API utilities and v4l libraries (libv4l). > > @@ -26,6 +26,12 @@ config V4L_UTILS_LIBV4LCONVERT > bool > prompt "install libv4lconvert" > > +config V4L_UTILS_LIBV4LCONVERT_JPEG > + bool > + default y > + depends on V4L_UTILS_LIBV4LCONVERT > + prompt "use libjpeg" > + > config V4L_UTILS_V4L2COMPLIANCE > bool > select V4L_UTILS_LIBV4L2 > diff --git a/rules/v4l-utils.make b/rules/v4l-utils.make > index d047885..911a022 100644 > --- a/rules/v4l-utils.make > +++ b/rules/v4l-utils.make > @@ -34,6 +34,10 @@ V4L_UTILS_CONF_OPT := \ > $(CROSS_AUTOCONF_USR) \ > --disable-qv4l2 > > +ifndef PTXCONF_V4L_UTILS_LIBV4LCONVERT_JPEG > +V4L_UTILS_CONF_OPT += --without-jpeg > +endif --$(call ptx/wwo, PTXCONF_V4L_UTILS_LIBV4LCONVERT_JPEG)-jpeg Add this directly to the list instead. Michael > + > # ---------------------------------------------------------------------------- > # Target-Install > # ---------------------------------------------------------------------------- > -- > 1.8.1.3 > > > -- > 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