From: John Crispin Date: Thu, 18 Mar 2010 11:20:35 +0000 (+0000) Subject: [ifxmips] Also build jffs2 images with 128k eraseblock size, signed off by Ithamar... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=b69f626af4dee61a32a2a153b269f13ebee224ca [ifxmips] Also build jffs2 images with 128k eraseblock size, signed off by Ithamar R. Adema SVN-Revision: 20267 --- diff --git a/target/linux/ifxmips/image/Makefile b/target/linux/ifxmips/image/Makefile index 15e0bc5dc3..ac887c4e49 100644 --- a/target/linux/ifxmips/image/Makefile +++ b/target/linux/ifxmips/image/Makefile @@ -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