X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=utils%2Fmtd-utils%2FMakefile;h=7ff0dcfe2e3872e99be1e261a4e2b8d3347453c1;hb=c7be074b44b5fb9850e60d4352aeb442f2145a37;hp=2a1a8e7b422ca42cd1d413b7415a3addcdcca715;hpb=f2a99bbb82b94c264e2d499a5572ac57f73f6e7c;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/utils/mtd-utils/Makefile b/utils/mtd-utils/Makefile index 2a1a8e7b42..7ff0dcfe2e 100644 --- a/utils/mtd-utils/Makefile +++ b/utils/mtd-utils/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2009-2010 OpenWrt.org +# Copyright (C) 2009-2013 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,10 +8,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mtd-utils -PKG_REV:=5319b84974fcb71504aed2d1b8285e9c0a4a4bb8 -PKG_VERSION:=1.4.5 -PKG_RELEASE:=1 -PKG_INSTALL:=1 +PKG_REV:=ab8c6fb93ce9db0f09401c4b819b0b277dc00340 +PKG_VERSION:=1.5.0 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=git://git.infradead.org/mtd-utils.git @@ -19,6 +18,8 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_INSTALL:=1 + PKG_BUILD_DEPENDS:=util-linux include $(INCLUDE_DIR)/package.mk @@ -27,18 +28,19 @@ FILES:= \ doc_loadbios \ docfdisk \ flash_erase \ - flash_eraseall \ - flash_info \ + flash_eraseall:+mtd-utils-flash-erase \ flash_lock \ flash_otp_dump \ - flash_otp_info \ + flash_otp_lock \ + flash_otp_write \ flash_unlock \ flashcp \ ftl_check \ ftl_format \ jffs2dump \ - mkfs.jffs2 \ - mkfs.ubifs:+libuuid \ + jffs2reader:+zlib \ + mkfs.jffs2:+zlib \ + mkfs.ubifs:+libuuid:+liblzo:+zlib \ mtd_debug \ mtdinfo \ nanddump \ @@ -100,9 +102,7 @@ MAKE_FLAGS += \ define PartInstall define Package/mtd-utils-$(subst _,-,$(firstword $(subst :, ,$(1))))/install - $(INSTALL_DIR) \ - $$(1)/usr/sbin - + $(INSTALL_DIR) $$(1)/usr/sbin $(INSTALL_BIN) \ $(PKG_INSTALL_DIR)/usr/sbin/$(firstword $(subst :, ,$(1))) \ $$(1)/usr/sbin/