aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/image/jffs2.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-09-22 13:38:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-09-22 13:38:05 +0000
commit76157716aebd5edee8ca8972c5906a427900b4d2 (patch)
tree9b17bda19f7cdb5535e780329de682ea7cb96bc3 /target/linux/image/jffs2.mk
parent4bc7ccda6c40c2ed85d9492f681965aef8471cc9 (diff)
downloadupstream-76157716aebd5edee8ca8972c5906a427900b4d2.tar.gz
upstream-76157716aebd5edee8ca8972c5906a427900b4d2.tar.bz2
upstream-76157716aebd5edee8ca8972c5906a427900b4d2.zip
fix permissions on image build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1977 3c298f89-4303-0410-b956-a3cf2f4a3e73
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