summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/host-autotools-autoconf.in1
-rw-r--r--rules/host-m4.in4
-rw-r--r--rules/host-m4.make36
3 files changed, 41 insertions, 0 deletions
diff --git a/rules/host-autotools-autoconf.in b/rules/host-autotools-autoconf.in
index 2af70dfc4..dbb7dce8b 100644
--- a/rules/host-autotools-autoconf.in
+++ b/rules/host-autotools-autoconf.in
@@ -3,4 +3,5 @@
config HOST_AUTOTOOLS_AUTOCONF
bool
select HOST_SYSTEM_PERL
+ select HOST_M4
default y
diff --git a/rules/host-m4.in b/rules/host-m4.in
new file mode 100644
index 000000000..b135d226c
--- /dev/null
+++ b/rules/host-m4.in
@@ -0,0 +1,4 @@
+## SECTION=hosttools_noprompt
+
+config HOST_M4
+ bool
diff --git a/rules/host-m4.make b/rules/host-m4.make
new file mode 100644
index 000000000..d7a5de3e0
--- /dev/null
+++ b/rules/host-m4.make
@@ -0,0 +1,36 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Juergen Beisert <jbe@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_M4) += host-m4
+
+#
+# Paths and names
+#
+HOST_M4_VERSION := 1.4.17
+HOST_M4_MD5 := 12a3c829301a4fd6586a57d3fcf196dc
+HOST_M4 := m4-$(HOST_M4_VERSION)
+HOST_M4_SUFFIX := tar.xz
+HOST_M4_URL := http://ftp.gnu.org/gnu/m4/$(HOST_M4).$(HOST_M4_SUFFIX)
+HOST_M4_SOURCE := $(SRCDIR)/$(HOST_M4).$(HOST_M4_SUFFIX)
+HOST_M4_DIR := $(HOST_BUILDDIR)/$(HOST_M4)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_M4_CONF_TOOL := autoconf
+
+# vim: syntax=make