summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/mtd/mtd.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 5a449f28e..16ad4acc4 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -6,6 +6,9 @@
MTD_VERSION:=1.3.1
MTD_SOURCE:=mtd-utils-$(MTD_VERSION).tar.bz2
MTD_SITE:=ftp://ftp.infradead.org/pub/mtd-utils
+ifeq ($(BR2_PACKAGE_MTD_MKFSJFFS2),y)
+MTD_DEPENDENCIES = zlib lzo
+endif
HOST_MTD_DEPENDENCIES = host-lzo host-e2fsprogs