From bbacc6db64ba213332d35af68c4660522c6047cc Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 28 Apr 2010 10:46:10 +0000 Subject: [PATCH] backfire: ar71xx: create smaller sysupgrade images for the WRT400N board (backport of 21170) SVN-Revision: 21225 --- target/linux/ar71xx/image/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 3837288a0d..efeedf0604 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -81,10 +81,9 @@ define Image/Build/WRT400N -d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \ ( \ dd if=$(KDIR)/vmlinux-$(2).uImage bs=1280k conv=sync; \ - dd if=$(KDIR)/root.$(1) bs=6336k conv=sync; \ - echo -n $(4); \ - ) > $(call imgname,$(1),$(2)).bin; \ - wrt400n $(KDIR)/vmlinux-$(2).uImage $(KDIR)/root.$(1) $(call imgname,$(1),$(2)).webui; \ + dd if=$(KDIR)/root.$(1) \ + ) > $(call imgname,$(1),$(2))-sysupgrade.bin; \ + wrt400n $(KDIR)/vmlinux-$(2).uImage $(KDIR)/root.$(1) $(call imgname,$(1),$(2))-factory.bin; \ fi; fi endef -- 2.30.2