summaryrefslogtreecommitdiffstats
path: root/target/linux/image/squashfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/image/squashfs.mk')
-rw-r--r--target/linux/image/squashfs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/image/squashfs.mk b/target/linux/image/squashfs.mk
index abc58da1e..abe21563e 100644
--- a/target/linux/image/squashfs.mk
+++ b/target/linux/image/squashfs.mk
@@ -15,8 +15,8 @@ squashfs-clean:
rm -f $(KDIR)/root.squashfs
$(KDIR)/root.squashfs: install-prepare
- @mkdir -p $(KDIR)/root/jffs
- $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -$(endian)
+ @mkdir -p $(BUILD_DIR)/root/jffs
+ $(STAGING_DIR)/bin/mksquashfs-lzma $(BUILD_DIR)/root $@ -nopad -noappend -root-owned -$(endian)
ifeq ($(IB),)
squashfs-install: compile-targets $(BOARD)-compile