[ifxmips] Also build jffs2 images with 128k eraseblock size, signed off by Ithamar...
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Mar 2010 11:20:35 +0000 (11:20 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Mar 2010 11:20:35 +0000 (11:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20267 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ifxmips/image/Makefile

index 15e0bc5..ac887c4 100644 (file)
@@ -27,6 +27,11 @@ define Image/Build/jffs2-64k
        cat $(KDIR)/uImage.$(1) $(KDIR)/root.$(1) > $(BIN_DIR)/openwrt-$(BOARD)-$(1).image
 endef
 
+define Image/Build/jffs2-128k
+       dd if=$(KDIR)/uImage of=$(KDIR)/uImage.$(1) bs=128k conv=sync
+       cat $(KDIR)/uImage.$(1) $(KDIR)/root.$(1) > $(BIN_DIR)/openwrt-$(BOARD)-$(1).image
+endef
+
 define Image/Build
        $(call Image/Build/$(1),$(1))
 endef
This page took 0.025232 seconds and 4 git commands to generate.