summaryrefslogtreecommitdiff
path: root/tools/mtd-utils/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-06-14 20:42:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-06-14 20:42:23 +0000
commita2b97a26e36c5d178f5d6a2e170082a7faa10d18 (patch)
tree45bd60b47c290d2304529f92272ed4b4d950d09a /tools/mtd-utils/Makefile
parent4bc008142ce10980e3d4e21fd4c6cd99f4d1484f (diff)
downloadmtk-20170518-a2b97a26e36c5d178f5d6a2e170082a7faa10d18.zip
mtk-20170518-a2b97a26e36c5d178f5d6a2e170082a7faa10d18.tar.gz
mtk-20170518-a2b97a26e36c5d178f5d6a2e170082a7faa10d18.tar.bz2
add ubinize to the mtd-utils build
SVN-Revision: 16457
Diffstat (limited to 'tools/mtd-utils/Makefile')
-rw-r--r--tools/mtd-utils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/mtd-utils/Makefile b/tools/mtd-utils/Makefile
index a74c941..06be6c7 100644
--- a/tools/mtd-utils/Makefile
+++ b/tools/mtd-utils/Makefile
@@ -36,10 +36,16 @@ define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR) \
$(MTD_MAKEOPTS) \
TARGETS=mkfs.jffs2
+ $(MAKE) -C $(HOST_BUILD_DIR)/ubi-utils \
+ $(MTD_MAKEOPTS) \
+ TARGETS=ubinize
endef
define Host/Install
- $(CP) $(HOST_BUILD_DIR)/mkfs.jffs2 $(STAGING_DIR_HOST)/bin/
+ $(CP) \
+ $(HOST_BUILD_DIR)/mkfs.jffs2 \
+ $(HOST_BUILD_DIR)/ubinize \
+ $(STAGING_DIR_HOST)/bin/
endef
define Host/Clean