From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay04.ispgateway.de ([80.67.31.42]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SuU27-0001KH-3S for ptxdist@pengutronix.de; Thu, 26 Jul 2012 21:47:40 +0200 Received: from [88.217.125.13] (helo=localhost) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SuU26-0001im-MO for ptxdist@pengutronix.de; Thu, 26 Jul 2012 21:47:38 +0200 From: Bernhard Walle Date: Thu, 26 Jul 2012 21:47:31 +0200 Message-Id: <1343332051-2571-3-git-send-email-bernhard@bwalle.de> In-Reply-To: <1343332051-2571-1-git-send-email-bernhard@bwalle.de> References: <20120725210726.GB12871@pengutronix.de> <1343332051-2571-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH 3/3] libpcre: Allow installation of pcregrep 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 Signed-off-by: Bernhard Walle --- rules/libpcre.in | 3 +++ rules/libpcre.make | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/rules/libpcre.in b/rules/libpcre.in index 713d35d..79fa9df 100644 --- a/rules/libpcre.in +++ b/rules/libpcre.in @@ -34,4 +34,7 @@ config LIBPCRE_LIBPCREPOSIX config LIBPCRE_LIBPCRECPP bool "install libpcrecpp (c++ bindings for libpcre)" +config LIBPCRE_PCREGREP + bool "install pcregrep on the target" + endif diff --git a/rules/libpcre.make b/rules/libpcre.make index 8148b0f..faa1c78 100644 --- a/rules/libpcre.make +++ b/rules/libpcre.make @@ -66,6 +66,11 @@ endif ifdef PTXCONF_LIBPCRE_LIBPCRECPP @$(call install_lib, libpcre, 0, 0, 0644, libpcrecpp) endif + +ifdef PTXCONF_LIBPCRE_PCREGREP + @$(call install_copy, libpcre, 0, 0, 0755, -, /usr/bin/pcregrep) +endif + @$(call install_finish, libpcre) @$(call touch) -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de