summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-11-28 20:26:07 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-12-19 15:55:32 +0100
commit175eaea87f6b8e053bda78e739ffce2ebc7d7476 (patch)
tree192f98bb4758b60d1f6462ef9e1a1167c3c9729c /rules
parentc51750aa17926d5efd82ee650ed7f4ceae9a7841 (diff)
downloadOSELAS.Toolchain-175eaea87f6b8e053bda78e739ffce2ebc7d7476.tar.gz
OSELAS.Toolchain-175eaea87f6b8e053bda78e739ffce2ebc7d7476.tar.xz
host-fake-makeinfo: new package
This fakes a makeinfo that does nothing. It provides a correct version info to fool configure scripts but does nothing else. This is useful when a new real makeinfo fails to build some documentation. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/host-fake-makeinfo.in2
-rw-r--r--rules/host-fake-makeinfo.make32
2 files changed, 34 insertions, 0 deletions
diff --git a/rules/host-fake-makeinfo.in b/rules/host-fake-makeinfo.in
new file mode 100644
index 0000000..55c4d8f
--- /dev/null
+++ b/rules/host-fake-makeinfo.in
@@ -0,0 +1,2 @@
+config HOST_FAKE_MAKEINFO
+ bool
diff --git a/rules/host-fake-makeinfo.make b/rules/host-fake-makeinfo.make
new file mode 100644
index 0000000..94be265
--- /dev/null
+++ b/rules/host-fake-makeinfo.make
@@ -0,0 +1,32 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 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_FAKE_MAKEINFO) += host-fake-makeinfo
+
+#
+# Paths and names
+#
+HOST_FAKE_MAKEINFO := fake-makeinfo
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-fake-makeinfo.install:
+ @$(call targetinfo)
+ install -d $(HOST_FAKE_MAKEINFO_PKGDIR)/bin
+ echo 'if [ "$${1}" == "--version" ]; then echo "makeinfo (GNU texinfo) 5.2"; fi' > $(HOST_FAKE_MAKEINFO_PKGDIR)/bin/makeinfo
+ chmod +x $(HOST_FAKE_MAKEINFO_PKGDIR)/bin/makeinfo
+ @$(call touch)
+
+# vim: syntax=make