mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/3] host-mtd-utils: Switch to autoconf based build
Date: Wed,  2 Oct 2019 15:05:59 +0200	[thread overview]
Message-ID: <20191002130601.16846-2-ada@thorsis.com> (raw)
In-Reply-To: <20191002130601.16846-1-ada@thorsis.com>

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>
---
 rules/host-mtd-utils.make | 25 +++++++++++++------------
 1 file 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
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2019-10-02 13:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-02 13:05 [ptxdist] [PATCH 0/3] mtd-utils Alexander Dahl
2019-10-02 13:05 ` Alexander Dahl [this message]
2019-10-02 13:06 ` [ptxdist] [PATCH 2/3] mtd-utils: version bump 2.0.2 -> 2.1.1 Alexander Dahl
2019-10-02 17:06   ` Ladislav Michl
2019-10-07  8:25     ` Alexander Dahl
2019-10-02 13:06 ` [ptxdist] [PATCH 3/3] mtd-utils: Add option for new tool 'lsmtd' Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191002130601.16846-2-ada@thorsis.com \
    --to=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox