summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-11 12:59:45 +0000
committerJohn Crispin <john@openwrt.org>2014-06-11 12:59:45 +0000
commit3417834ffcf84d40d9b96cde8c41d0511665d0b1 (patch)
tree72ff17a0d13d526a77b9167593a44245c99b476d
parent371c7008105ac860bb7ccfe29c03f69a14d5811f (diff)
downloadmtk-20170518-3417834ffcf84d40d9b96cde8c41d0511665d0b1.zip
mtk-20170518-3417834ffcf84d40d9b96cde8c41d0511665d0b1.tar.gz
mtk-20170518-3417834ffcf84d40d9b96cde8c41d0511665d0b1.tar.bz2
fstools: the ubi flash tool is obselete now
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41128
-rw-r--r--package/system/fstools/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index b10f105..08b3be4 100644
--- a/package/system/fstools/Makefile
+++ b/package/system/fstools/Makefile
@@ -32,16 +32,10 @@ TARGET_LDFLAGS += $(if $(CONFIG_USE_EGLIBC),-lrt)
define Package/fstools
SECTION:=base
CATEGORY:=Base system
- DEPENDS:=+ubox +USE_EGLIBC:librt
+ DEPENDS:=+ubox +USE_EGLIBC:librt +NAND_SUPPORT:ubi-utils
TITLE:=OpenWrt filesystem tools
endef
-define Package/ubi-flash
- SECTION:=base
- CATEGORY:=Base system
- TITLE:=OpenWrt ubi flashing tool
-endef
-
define Package/block-mount
SECTION:=base
CATEGORY:=Base system
@@ -58,12 +52,6 @@ define Package/fstools/install
ln -s /sbin/jffs2reset $(1)/sbin/jffs2mark
endef
-define Package/ubi-flash/install
- $(INSTALL_DIR) $(1)/sbin $(1)/lib
-
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ubi $(1)/sbin/
-endef
-
define Package/block-mount/install
$(INSTALL_DIR) $(1)/sbin $(1)/lib $(1)/usr/sbin $(1)/etc/hotplug.d/block $(1)/etc/init.d/ $(1)/etc/uci-defaults/
@@ -86,5 +74,4 @@ define Build/InstallDev
endef
$(eval $(call BuildPackage,fstools))
-$(eval $(call BuildPackage,ubi-flash))
$(eval $(call BuildPackage,block-mount))