summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2012-07-26 21:47:31 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-07-27 08:40:46 +0200
commit5b75f2aeaa60ace248048069320332ae8a29f9fc (patch)
tree0acf88e7418860b999cc98069075dd4394ac7d1e
parent4578c3bdf184f8198fd5e62fccc1a8038b78f973 (diff)
downloadptxdist-5b75f2aeaa60ace248048069320332ae8a29f9fc.tar.gz
ptxdist-5b75f2aeaa60ace248048069320332ae8a29f9fc.tar.xz
libpcre: Allow installation of pcregrep
Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/libpcre.in3
-rw-r--r--rules/libpcre.make5
2 files changed, 8 insertions, 0 deletions
diff --git a/rules/libpcre.in b/rules/libpcre.in
index 713d35d38..79fa9dfb6 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 8148b0f30..faa1c7899 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)