From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iFeKT-0000uT-IS for ptxdist@pengutronix.de; Wed, 02 Oct 2019 15:06:08 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 5150BDB0 for ; Wed, 2 Oct 2019 15:06:20 +0200 (CEST) Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TFbO5j8Akr5H for ; Wed, 2 Oct 2019 15:06:20 +0200 (CEST) Received: from adahl by ada.ifak-system.com with local (Exim 4.89) (envelope-from ) id 1iFeKP-0004OU-Rv for ptxdist@pengutronix.de; Wed, 02 Oct 2019 15:06:01 +0200 From: Alexander Dahl Date: Wed, 2 Oct 2019 15:05:59 +0200 Message-Id: <20191002130601.16846-2-ada@thorsis.com> In-Reply-To: <20191002130601.16846-1-ada@thorsis.com> References: <20191002130601.16846-1-ada@thorsis.com> Subject: [ptxdist] [PATCH 1/3] host-mtd-utils: Switch to autoconf based build List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de 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 --- 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