summaryrefslogtreecommitdiff
path: root/target/linux/image/jffs2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/image/jffs2.mk')
-rw-r--r--target/linux/image/jffs2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/image/jffs2.mk b/target/linux/image/jffs2.mk
index a2c47e4dcd..2a169ab320 100644
--- a/target/linux/image/jffs2.mk
+++ b/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