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 1Su8nm-0000ln-Ie for ptxdist@pengutronix.de; Wed, 25 Jul 2012 23:07:26 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Su8nm-0003ZH-Hh for ptxdist@pengutronix.de; Wed, 25 Jul 2012 23:07:26 +0200 Date: Wed, 25 Jul 2012 23:07:26 +0200 From: Michael Olbrich Message-ID: <20120725210726.GB12871@pengutronix.de> References: <1343245282-24448-1-git-send-email-bernhard@bwalle.de> <1343245282-24448-2-git-send-email-bernhard@bwalle.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1343245282-24448-2-git-send-email-bernhard@bwalle.de> Subject: Re: [ptxdist] [PATCH 2/3] libpcre: Add option to enable libbz2 for pcregrep 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 Wed, Jul 25, 2012 at 09:41:21PM +0200, Bernhard Walle wrote: > Signed-off-by: Bernhard Walle > --- > rules/libpcre.in | 4 ++++ > rules/libpcre.make | 1 + > 2 files changed, 5 insertions(+) > > diff --git a/rules/libpcre.in b/rules/libpcre.in > index b6aab3c..491c65b 100644 > --- a/rules/libpcre.in > +++ b/rules/libpcre.in > @@ -5,6 +5,7 @@ menuconfig LIBPCRE > prompt "libpcre " > select GCCLIBS_CXX if LIBPCRE_LIBPCRECPP > select ZLIB if LIBPCRE_ENABLE_PCREGREP_LIBZ > + select BZIP2_LIBBZ2 if LIBPCRE_ENABLE_PCREGREP_LIBBZ2 You need to select BZIP2 as well, otherwise the make dependency is missing. Michael > help > Perl 5 Compatible Regular Expression Library > > @@ -20,6 +21,9 @@ config LIBPCRE_ENABLE_NEWLINE_IS_ANYCRLF > config LIBPCRE_ENABLE_PCREGREP_LIBZ > bool "Enable grep libz" > > +config LIBPCRE_ENABLE_PCREGREP_LIBBZ2 > + bool "Enable grep libbz2" > + > config LIBPCRE_ENABLE_UTF8 > bool "Enable UTF8" > > diff --git a/rules/libpcre.make b/rules/libpcre.make > index 754654a..8148b0f 100644 > --- a/rules/libpcre.make > +++ b/rules/libpcre.make > @@ -38,6 +38,7 @@ LIBPCRE_ENV := $(CROSS_ENV) > LIBPCRE_AUTOCONF := \ > $(CROSS_AUTOCONF_USR) \ > --$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_PCREGREP_LIBZ)-pcregrep-libz \ > + --$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_PCREGREP_LIBBZ2)-pcregrep-libbz2 \ > --$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_UTF8)-utf8 > > ifdef PTXCONF_LIBPCRE_ENABLE_NEWLINE_IS_ANYCRLF > -- > 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