summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/image/jffs2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/image/jffs2.mk')
-rw-r--r--openwrt/target/linux/image/jffs2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/target/linux/image/jffs2.mk b/openwrt/target/linux/image/jffs2.mk
index a2c47e4dc..2a169ab32 100644
--- a/openwrt/target/linux/image/jffs2.mk
+++ b/openwrt/target/linux/image/jffs2.mk
@@ -11,11 +11,11 @@ jffs2-clean:
$(MAKE) -C jffs2 clean
rm -f $(KDIR)/root.jffs2*
-$(KDIR)/root.jffs2-4MB:
+$(KDIR)/root.jffs2-4MB: install-prepare
@rm -rf $(KDIR)/root/jffs
$(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $@ -d $(KDIR)/root
-$(KDIR)/root.jffs2-8MB:
+$(KDIR)/root.jffs2-8MB: install-prepare
@rm -rf $(KDIR)/root/jffs
$(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $@ -d $(KDIR)/root