summaryrefslogtreecommitdiffstats
path: root/rules/host-mtd-utils.make
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2019-10-02 15:05:59 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-10-03 18:48:11 +0200
commit2e2c8b19aa88410681fb78055a91f5a6fa332347 (patch)
tree92839c618255f0329af4edb5759e5444f9465b49 /rules/host-mtd-utils.make
parent177408cd5aa37c0c7d18047fc7632c44cbf5506f (diff)
downloadptxdist-2e2c8b19aa88410681fb78055a91f5a6fa332347.tar.gz
ptxdist-2e2c8b19aa88410681fb78055a91f5a6fa332347.tar.xz
host-mtd-utils: Switch to autoconf based build
mtd-utils went from plain Makefile to autotools with version 2. This was considered for the target package, but not for the host package. host-mtd-utils build will break however when upgrading to mtd-utils v2.1.x, so we fix this first before the version bump. Fixes: 11c111c3af11 ("mtd-utils: Upgrade from 1.5.2 to 2.0.1") Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-mtd-utils.make')
-rw-r--r--rules/host-mtd-utils.make25
1 files changed, 13 insertions, 12 deletions
diff --git a/rules/host-mtd-utils.make b/rules/host-mtd-utils.make
index 457ecefb4..09709ba80 100644
--- a/rules/host-mtd-utils.make
+++ b/rules/host-mtd-utils.make
@@ -12,21 +12,22 @@
#
HOST_PACKAGES-$(PTXCONF_HOST_MTD_UTILS) += host-mtd-utils
-#
-# Paths and names
-#
-HOST_MTD_UTILS_DIR = $(HOST_BUILDDIR)/$(MTD_UTILS)
-
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-# don't use := here
-HOST_MTD_UTILS_MAKEVARS = \
- PREFIX=/ \
- BUILDDIR=$(HOST_MTD_UTILS_DIR) \
- DESTDIR=$(HOST_MTD_UTILS_PKGDIR)
-
-HOST_MTD_UTILS_CFLAGS := -fgnu89-inline
+#
+# autoconf
+#
+HOST_MTD_UTILS_CONF_TOOL := autoconf
+HOST_MTD_UTILS_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --disable-unit-tests \
+ --disable-tests \
+ --disable-install-tests \
+ --without-jffs \
+ --with-ubifs \
+ --with-xattr \
+ --with-lzo
# vim: syntax=make