summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/host-libpcre.in5
-rw-r--r--rules/host-libpcre.make30
2 files changed, 35 insertions, 0 deletions
diff --git a/rules/host-libpcre.in b/rules/host-libpcre.in
new file mode 100644
index 000000000..4af3111e0
--- /dev/null
+++ b/rules/host-libpcre.in
@@ -0,0 +1,5 @@
+## SECTION=project_specific
+
+config HOST_LIBPCRE
+ tristate
+ default ALLYES
diff --git a/rules/host-libpcre.make b/rules/host-libpcre.make
new file mode 100644
index 000000000..886d2fa96
--- /dev/null
+++ b/rules/host-libpcre.make
@@ -0,0 +1,30 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBPCRE) += host-libpcre
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LIBPCRE_CONF_TOOL := autoconf
+HOST_LIBPCRE_CONF_OPT :=\
+ $(HOST_AUTOCONF) \
+ --disable-pcregrep-libz \
+ --disable-pcregrep-libbz2 \
+ --enable-utf8
+
+# vim: syntax=make