summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-10-09 14:31:28 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-10-09 14:31:28 +0200
commit487db35a1f25bb92d19ac0dd2ea7029413af006c (patch)
tree6211d561ecc11c4b7a6340a5db8b282faccc3378
parent97fb87f2f8454e9d4bf9805ff2d2cd2292a9b7e0 (diff)
downloadptxdist-487db35a1f25bb92d19ac0dd2ea7029413af006c.tar.gz
ptxdist-487db35a1f25bb92d19ac0dd2ea7029413af006c.tar.xz
host-libgcrypt: add dummy package to provide libgcrypt.m4
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-libgcrypt.in4
-rw-r--r--rules/host-libgcrypt.make47
2 files changed, 51 insertions, 0 deletions
diff --git a/rules/host-libgcrypt.in b/rules/host-libgcrypt.in
new file mode 100644
index 000000000..b4f6e29c6
--- /dev/null
+++ b/rules/host-libgcrypt.in
@@ -0,0 +1,4 @@
+## SECTION=hosttools_noprompt
+
+config HOST_LIBGCRYPT
+ tristate
diff --git a/rules/host-libgcrypt.make b/rules/host-libgcrypt.make
new file mode 100644
index 000000000..99f854899
--- /dev/null
+++ b/rules/host-libgcrypt.make
@@ -0,0 +1,47 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 by Michael Olbrich <m.olbrich@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_LIBGCRYPT) += host-libgcrypt
+
+#
+# this is just a dummy package to provide libgcrypt.m4
+#
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LIBGCRYPT_CONF_TOOL := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-libgcrypt.compile:
+ @$(call targetinfo)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-libgcrypt.install:
+ @$(call targetinfo)
+ install -D -m 644 $(HOST_LIBGCRYPT_DIR)/src/libgcrypt.m4 \
+ $(HOST_LIBGCRYPT_PKGDIR)/share/aclocal/libgcrypt.m4
+ @$(call touch)
+
+# vim: syntax=make