summaryrefslogtreecommitdiff
path: root/package/mtd
diff options
context:
space:
mode:
authorWill Wagner <will_wagner@carallon.com>2010-04-14 23:24:26 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-15 14:01:41 +0200
commitd362cc504dd98c73962ec55d519a3cb1d30ef913 (patch)
tree7759991d485a5bc2e44524f8ba345586eb7292ea /package/mtd
parent376549b7556f5df748a1fbf70b4bdd843458f78e (diff)
mtd: mkfs.jffs2 requires zlib to build
[Peter: lzo needed as well] Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mtd')
-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