[OpenWrt-Devel] [PATCH] update mtd-utils to 1.5.2

Hauke Mehrtens hauke at hauke-m.de
Sun Nov 15 16:59:48 EST 2015


On 11/13/2015 12:20 AM, Sven Roederer wrote:
>  - update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73)
>  - remove patches that went upstream
>  - fixes build from scratch as of broken patches
> 
> just had a crash-course to git send-email ....
> 
> Signed-off-by: Sven Roederer <devel-sven at geroedel.de>
> ---
>  tools/mtd-utils/Makefile                           |  6 ++--
>  tools/mtd-utils/patches/110-portability.patch      | 21 -----------
>  tools/mtd-utils/patches/137-no_extern_inline.patch | 41 ----------------------
>  .../300-libfec_use_standard_unsigned_long.patch    | 35 ------------------
>  4 files changed, 3 insertions(+), 100 deletions(-)
>  delete mode 100644 tools/mtd-utils/patches/137-no_extern_inline.patch
>  delete mode 100644 tools/mtd-utils/patches/300-libfec_use_standard_unsigned_long.patch


your patch is not formatted correctly.

Why are you using some random commit and not the commit of the 1.5.2 tag?

When I build it I get this warning, can you fix it?

compr_lzma.c:95:14: warning: initialization from incompatible pointer
type [-Wincompatible-pointer-types]
  .compress = &jffs2_lzma_compress,
              ^
compr_lzma.c:95:14: note: (near initialization for
'jffs2_lzma_comp.compress')
compr_lzma.c:96:16: warning: initialization from incompatible pointer
type [-Wincompatible-pointer-types]
  .decompress = &jffs2_lzma_decompress,
                ^
compr_lzma.c:96:16: note: (near initialization for
'jffs2_lzma_comp.decompress')

Hauke

> 
> diff --git a/tools/mtd-utils/Makefile b/tools/mtd-utils/Makefile
> index b863179..d38798b 100644
> --- a/tools/mtd-utils/Makefile
> +++ b/tools/mtd-utils/Makefile
> @@ -7,14 +7,14 @@
>  include $(TOPDIR)/rules.mk
>  
>  PKG_NAME:=mtd-utils
> -PKG_VERSION:=1.5.1
> +PKG_VERSION:=1.5.2
>  
> -PKG_SOURCE_VERSION:=92686f212c9a4e16891c6a3c57629cbf4f0f8360
> +PKG_SOURCE_VERSION:=a494d30ab1ae40cb7665680cadf5af3ca3830a73
>  PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
>  PKG_SOURCE_URL:=git://git.infradead.org/mtd-utils.git
>  PKG_SOURCE_PROTO:=git
>  PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
> -PKG_MIRROR_MD5SUM:=9fe0518213feddacd1842935dddeb6c8
> +PKG_MIRROR_MD5SUM:=0785919dc5888e9397a8bb77e7e0e19c

Where did you get this md5sum from?

>  PKG_CAT:=zcat
>  
>  HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list