Also build jffs2 images with 128k eraseblock size, signed off by Ithamar R. Adema

SVN-Revision: 20267
lede-17.01
John Crispin 2010-03-18 11:20:35 +00:00
parent ceffb972eb
commit 2a89598ce5
1 changed files with 5 additions and 0 deletions

View 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