summaryrefslogtreecommitdiffstats
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
parent7c3c44a4d5c128076f0165439aa2ad7de7db7ff7 (diff)
downloadptxdist-0fe2ab6502cb39bbdffe3c6a1095bb7dd72dca86.tar.gz
ptxdist-0fe2ab6502cb39bbdffe3c6a1095bb7dd72dca86.tar.xz
host-mtools: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--platforms/hosttools.in1
-rw-r--r--rules/host-mtools.in5
-rw-r--r--rules/host-mtools.make51
3 files changed, 57 insertions, 0 deletions
diff --git a/platforms/hosttools.in b/platforms/hosttools.in
index fbb2ce301..155b30b9f 100644
--- a/platforms/hosttools.in
+++ b/platforms/hosttools.in
@@ -16,6 +16,7 @@ source "rules/host-libuuid.in"
source "rules/host-lzop.in"
source "rules/host-mkelfImage.in"
source "rules/host-mtd-utils.in"
+source "rules/host-mtools.in"
source "rules/host-openssl.in"
source "rules/host-squashfs-tools.in"
source "rules/host-umkimage.in"
diff --git a/rules/host-mtools.in b/rules/host-mtools.in
new file mode 100644
index 000000000..23fa5678f
--- /dev/null
+++ b/rules/host-mtools.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt
+
+config HOST_MTOOLS
+ tristate
+ default ALLYES
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