From 7af8ee04812f647ce74adbe04f0d5d18a39bbd29 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 21 Mar 2010 17:16:50 +0000 Subject: change from /jffs to /overlay, patch from Daniel Dickinson SVN-Revision: 20356 --- include/image.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/image.mk b/include/image.mk index 47871f9541..0ce6336cc5 100644 --- a/include/image.mk +++ b/include/image.mk @@ -62,14 +62,13 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) $(call Image/Build,jffs2-$(1)) endef define Image/mkfs/jffs2 - rm -rf $(TARGET_DIR)/jffs $(foreach SZ,$(JFFS2_BLOCKSIZE),$(call Image/mkfs/jffs2/sub,$(SZ))) endef endif ifeq ($(CONFIG_TARGET_ROOTFS_SQUASHFS),y) define Image/mkfs/squashfs - @mkdir -p $(TARGET_DIR)/jffs + @mkdir -p $(TARGET_DIR)/overlay $(MKSQUASHFS_CMD) $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned $(SQUASHFS_OPTS) $(call Image/Build,squashfs) endef -- cgit v1.2.3