From: juhosg Date: Mon, 15 Mar 2010 11:03:38 +0000 (+0000) Subject: ar71xx: create separated and smaller sysupgrade files for the DIR-615 and similar... X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=2bc9c0b6e304ca8cc4fa17f6b8c0a2fe13e46013;p=10.03%2Fopenwrt.git ar71xx: create separated and smaller sysupgrade files for the DIR-615 and similar boards git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20230 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 81ea68fe4..c5d79935b 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -143,9 +143,13 @@ define Image/Build/Cameo -d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \ ( \ dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \ + dd if=$(KDIR)/root.$(1) \ + ) > $(call imgname,$(1),$(2))-sysupgrade.bin; \ + ( \ + dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=2880k conv=sync; \ echo -n $(4); \ - ) > $(call imgname,$(1),$(2)).uni; \ + ) > $(call imgname,$(1),$(2))-factory.bin; \ fi; fi endef @@ -163,9 +167,13 @@ define Image/Build/Cameo7240 -d $(KDIR)/vmlinux-$(2).bin.lzma $(KDIR)/vmlinux-$(2).uImage; \ ( \ dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \ + dd if=$(KDIR)/root.$(1) \ + ) > $(call imgname,$(1),$(2))-sysupgrade.bin; \ + ( \ + dd if=$(KDIR)/vmlinux-$(2).uImage bs=896k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=2752k conv=sync; \ echo -n $(4); \ - ) > $(call imgname,$(1),$(2))-universal.bin; \ + ) > $(call imgname,$(1),$(2))-factory.bin; \ fi; fi endef