added usb-storage hotpluging
[openwrt.git] / include / image.mk
index f814f61..08f240f 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
     
@@ -65,6 +68,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
 else
   define Image/BuildKernel
        cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinux.elf
+       $(call Image/Build/Initramfs)
   endef
 endif
 
This page took 0.023934 seconds and 4 git commands to generate.