move firmware loading to hotplug2-init.rules (should fix #2056)
[openwrt.git] / include / image.mk
index 815f01b..84549c5 100644 (file)
@@ -38,14 +38,17 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
                
                $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x10000 -o $(KDIR)/root.jffs2-64k -d $(BUILD_DIR)/root
                $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x20000 -o $(KDIR)/root.jffs2-128k -d $(BUILD_DIR)/root
+               $(STAGING_DIR)/bin/mkfs.jffs2 $(JFFS2OPTS) -e 0x40000 -o $(KDIR)/root.jffs2-256k -d $(BUILD_DIR)/root
 
                
                # add End-of-Filesystem markers
                $(call add_jffs2_mark,$(KDIR)/root.jffs2-64k)
                $(call add_jffs2_mark,$(KDIR)/root.jffs2-128k)
+               $(call add_jffs2_mark,$(KDIR)/root.jffs2-256k)
        
                $(call Image/Build,jffs2-64k)
                $(call Image/Build,jffs2-128k)
+               $(call Image/Build,jffs2-256k)
     endef
   endif
     
@@ -59,7 +62,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
     
   ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
     define Image/mkfs/tgz
-               tar -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
+               $(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
     endef
   endif
 else
This page took 0.020281 seconds and 4 git commands to generate.