From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay06.ispgateway.de ([80.67.31.103]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Su7Sf-0005M7-A2 for ptxdist@pengutronix.de; Wed, 25 Jul 2012 21:41:34 +0200 Received: from [88.217.102.172] (helo=localhost) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Su7Sd-0004oj-1i for ptxdist@pengutronix.de; Wed, 25 Jul 2012 21:41:31 +0200 From: Bernhard Walle Date: Wed, 25 Jul 2012 21:41:22 +0200 Message-Id: <1343245282-24448-3-git-send-email-bernhard@bwalle.de> In-Reply-To: <1343245282-24448-1-git-send-email-bernhard@bwalle.de> References: <1343245282-24448-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 491c65b..adb7519 100644 --- a/rules/libpcre.in +++ b/rules/libpcre.in @@ -33,4 +33,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