backfire: ar71xx: create smaller sysupgrade images for the WRT400N board (backport...
authorGabor Juhos <juhosg@openwrt.org>
Wed, 28 Apr 2010 10:46:10 +0000 (10:46 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 28 Apr 2010 10:46:10 +0000 (10:46 +0000)
SVN-Revision: 21225

target/linux/ar71xx/image/Makefile

index 3837288a0d9e95e59df36d9e3c75954eeb5ae971..efeedf0604e58f528649b3f8fff36f2efb80b4e6 100644 (file)
@@ -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