1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 19:49:54 +02:00

backfire: ar71xx: create smaller sysupgrade images for the WRT400N board (backport of 21170)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21225 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2010-04-28 10:46:10 +00:00
parent 246311dd59
commit e996a4e748

View File

@ -81,10 +81,9 @@ define Image/Build/WRT400N
-d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \ -d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \
( \ ( \
dd if=$(KDIR)/vmlinux-$(2).uImage bs=1280k conv=sync; \ dd if=$(KDIR)/vmlinux-$(2).uImage bs=1280k conv=sync; \
dd if=$(KDIR)/root.$(1) bs=6336k conv=sync; \ dd if=$(KDIR)/root.$(1) \
echo -n $(4); \ ) > $(call imgname,$(1),$(2))-sysupgrade.bin; \
) > $(call imgname,$(1),$(2)).bin; \ wrt400n $(KDIR)/vmlinux-$(2).uImage $(KDIR)/root.$(1) $(call imgname,$(1),$(2))-factory.bin; \
wrt400n $(KDIR)/vmlinux-$(2).uImage $(KDIR)/root.$(1) $(call imgname,$(1),$(2)).webui; \
fi; fi fi; fi
endef endef