aboutsummaryrefslogtreecommitdiff
path: root/package/mtd/mtd.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-02-03 15:08:47 +0100
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-02-03 15:08:47 +0100
commitf85ed72c70925c7953c11fa0526bd77fb8698de2 (patch)
tree9eeec97f1617ca57e546776dffc6085cbdf1ab49 /package/mtd/mtd.mk
parent6d34b1d0589ce2a9c15bf95c83effafc85ef62c2 (diff)
downloadbuildroot-f85ed72c70925c7953c11fa0526bd77fb8698de2.tar.gz
buildroot-f85ed72c70925c7953c11fa0526bd77fb8698de2.tar.bz2
mtd: zlib/lzo is only needed for mkfs.jffs2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mtd/mtd.mk')
-rw-r--r--package/mtd/mtd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index e4f59173ff..244fd8e959 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -132,7 +132,7 @@ $(MTD_TARGET_BINS): $(MTD_BUILD_TARGETS)
mkdir -p $(TARGET_DIR)/usr/sbin
$(INSTALL) -m 0755 $^ $(TARGET_DIR)/usr/sbin
-mtd: zlib lzo $(MTD_TARGET_BINS)
+mtd: $(if $(BR2_PACKAGE_MTD_MKFSJFFS2),zlib lzo) $(MTD_TARGET_BINS)
mtd-source: $(DL_DIR)/$(MTD_SOURCE)