summaryrefslogtreecommitdiffstats
path: root/rules/host-mtools.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-05-22 09:55:33 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-05-31 09:58:11 +0200
commit0fe2ab6502cb39bbdffe3c6a1095bb7dd72dca86 (patch)
tree0c8f62c345e6ac0c0f317cc8c175871fc3cd3a97 /rules/host-mtools.make
parent7c3c44a4d5c128076f0165439aa2ad7de7db7ff7 (diff)
downloadptxdist-0fe2ab6502cb39bbdffe3c6a1095bb7dd72dca86.tar.gz
ptxdist-0fe2ab6502cb39bbdffe3c6a1095bb7dd72dca86.tar.xz
host-mtools: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-mtools.make')
-rw-r--r--rules/host-mtools.make51
1 files changed, 51 insertions, 0 deletions
diff --git a/rules/host-mtools.make b/rules/host-mtools.make
new file mode 100644
index 000000000..80a2d1867
--- /dev/null
+++ b/rules/host-mtools.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 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_MTOOLS) += host-mtools
+
+#
+# Paths and names
+#
+HOST_MTOOLS_VERSION := 4.0.16
+HOST_MTOOLS_MD5 := e9b07f35272210f407012abaf5d1b9b5
+HOST_MTOOLS := mtools-$(HOST_MTOOLS_VERSION)
+HOST_MTOOLS_SUFFIX := tar.bz2
+HOST_MTOOLS_URL := $(PTXCONF_SETUP_GNUMIRROR)/mtools/$(HOST_MTOOLS).$(HOST_MTOOLS_SUFFIX)
+HOST_MTOOLS_SOURCE := $(SRCDIR)/$(HOST_MTOOLS).$(HOST_MTOOLS_SUFFIX)
+HOST_MTOOLS_DIR := $(HOST_BUILDDIR)/$(HOST_MTOOLS)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+# disable iconv because breaks with host-libiconv
+HOST_MTOOLS_CONF_ENV := \
+ $(HOST_ENV) \
+ ac_cv_header_iconv_h=no
+
+#
+# autoconf
+#
+HOST_MTOOLS_CONF_TOOL := autoconf
+
+HOST_MTOOLS_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --disable-xdf \
+ --disable-vold \
+ --disable-new-vold \
+ --disable-debug \
+ --disable-floppyd \
+ --without-x \
+ --enable-raw-term
+
+# vim: syntax=make