diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-11-28 20:26:07 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-12-19 15:55:32 +0100 |
commit | 175eaea87f6b8e053bda78e739ffce2ebc7d7476 (patch) | |
tree | 192f98bb4758b60d1f6462ef9e1a1167c3c9729c | |
parent | c51750aa17926d5efd82ee650ed7f4ceae9a7841 (diff) | |
download | OSELAS.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>
-rw-r--r-- | Kconfig | 1 | ||||
-rw-r--r-- | rules/host-fake-makeinfo.in | 2 | ||||
-rw-r--r-- | rules/host-fake-makeinfo.make | 32 |
3 files changed, 35 insertions, 0 deletions
@@ -68,6 +68,7 @@ source "workspace/rules/kernel-headers.in" source "workspace/rules/cross-gcc.in" source "workspace/rules/cross-gdb.in" source "workspace/rules/cross-toolchain.in" +source "workspace/rules/host-fake-makeinfo.in" source "workspace/rules/host-cloog.in" source "workspace/rules/host-expat.in" source "workspace/rules/host-gmp.in" 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 |