mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] mtd-utils: Version bump to 2.0.0
@ 2017-05-04 13:32 Sascha Hauer
  2017-05-04 15:10 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2017-05-04 13:32 UTC (permalink / raw)
  To: ptxdist

mtd-utils 2.0.0 is out for some time, and it is autotoolized now.
Add support for it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 rules/mtd-utils.make | 22 +++-------------------
 1 file changed, 3 insertions(+), 19 deletions(-)

diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
index ba633c33e..c61be157c 100644
--- a/rules/mtd-utils.make
+++ b/rules/mtd-utils.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_MTD_UTILS) += mtd-utils
 #
 # Paths and names
 #
-MTD_UTILS_VERSION	:= 1.5.2
-MTD_UTILS_MD5		:= 596bc7b20a6d4fb86d63fc9b8af674d6
+MTD_UTILS_VERSION	:= 2.0.0
+MTD_UTILS_MD5		:= 70b80fccdfc1b536a91deefb91f4e2be
 MTD_UTILS		:= mtd-utils-$(MTD_UTILS_VERSION)
 MTD_UTILS_SUFFIX	:= tar.bz2
 MTD_UTILS_URL		:= ftp://ftp.infradead.org/pub/mtd-utils/$(MTD_UTILS).$(MTD_UTILS_SUFFIX)
@@ -30,23 +30,7 @@ MTD_UTILS_LICENSE	:= GPL-2.0+
 # Prepare
 # ----------------------------------------------------------------------------
 
-MTD_UTILS_CONF_TOOL	:= NO
-
-MTD_UTILS_COMPILE_ENV	:= \
-	$(CROSS_ENV) \
-	CROSS="$(COMPILER_PREFIX)" \
-	WITHOUT_XATTR=1
-
-ifndef PTXCONF_MTD_UTILS_USE_LIBLZO
-MTD_UTILS_COMPILE_ENV += WITHOUT_LZO=1
-endif
-
-ifndef PTXCONF_MTD_UTILS_MKFS_UBIFS
-MTD_UTILS_COMPILE_ENV += WITHOUT_MKUBIFS=1
-endif
-
-MTD_UTILS_COMPILE_OPT	:= \
-	BUILDDIR=$(MTD_UTILS_DIR)
+MTD_UTILS_CONF_TOOL	:= autoconf
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] mtd-utils: Version bump to 2.0.0
  2017-05-04 13:32 [ptxdist] [PATCH] mtd-utils: Version bump to 2.0.0 Sascha Hauer
@ 2017-05-04 15:10 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2017-05-04 15:10 UTC (permalink / raw)
  To: ptxdist

On Thu, May 04, 2017 at 03:32:09PM +0200, Sascha Hauer wrote:
> mtd-utils 2.0.0 is out for some time, and it is autotoolized now.
> Add support for it.

There are a lot of old patches.

> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  rules/mtd-utils.make | 22 +++-------------------
>  1 file changed, 3 insertions(+), 19 deletions(-)
> 
> diff --git a/rules/mtd-utils.make b/rules/mtd-utils.make
> index ba633c33e..c61be157c 100644
> --- a/rules/mtd-utils.make
> +++ b/rules/mtd-utils.make
> @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_MTD_UTILS) += mtd-utils
>  #
>  # Paths and names
>  #
> -MTD_UTILS_VERSION	:= 1.5.2
> -MTD_UTILS_MD5		:= 596bc7b20a6d4fb86d63fc9b8af674d6
> +MTD_UTILS_VERSION	:= 2.0.0
> +MTD_UTILS_MD5		:= 70b80fccdfc1b536a91deefb91f4e2be
>  MTD_UTILS		:= mtd-utils-$(MTD_UTILS_VERSION)
>  MTD_UTILS_SUFFIX	:= tar.bz2
>  MTD_UTILS_URL		:= ftp://ftp.infradead.org/pub/mtd-utils/$(MTD_UTILS).$(MTD_UTILS_SUFFIX)
> @@ -30,23 +30,7 @@ MTD_UTILS_LICENSE	:= GPL-2.0+
>  # Prepare
>  # ----------------------------------------------------------------------------
>  
> -MTD_UTILS_CONF_TOOL	:= NO
> -
> -MTD_UTILS_COMPILE_ENV	:= \
> -	$(CROSS_ENV) \
> -	CROSS="$(COMPILER_PREFIX)" \
> -	WITHOUT_XATTR=1
> -
> -ifndef PTXCONF_MTD_UTILS_USE_LIBLZO
> -MTD_UTILS_COMPILE_ENV += WITHOUT_LZO=1
> -endif
> -
> -ifndef PTXCONF_MTD_UTILS_MKFS_UBIFS
> -MTD_UTILS_COMPILE_ENV += WITHOUT_MKUBIFS=1
> -endif
> -
> -MTD_UTILS_COMPILE_OPT	:= \
> -	BUILDDIR=$(MTD_UTILS_DIR)
> +MTD_UTILS_CONF_TOOL	:= autoconf

$ .../scripts/configure_helper.py --pkg mtd-utils
--- rules/mtd-utils.make
+++ mtd-utils-2.0.0
@@ -4,3 +4,10 @@
 	--libdir=/usr/lib
 	--build=x86_64-host-linux-gnu
 	--host=arm-v7a-linux-gnueabihf
+	--enable-unit-tests
+	--disable-tests
+	--enable-install-tests
+	--without-jffs
+	--without-ubifs
+	--without-xattr
+	--without-lzo

These should all be specified.

Michael

>  
>  # ----------------------------------------------------------------------------
>  # Target-Install
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-04 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04 13:32 [ptxdist] [PATCH] mtd-utils: Version bump to 2.0.0 Sascha Hauer
2017-05-04 15:10 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox