diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-15 11:03:38 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-15 11:03:38 +0000 |
commit | 7e31015103d68487607d9e24b3cae1e01df19ba0 (patch) | |
tree | 256d9acda279975f0c2e7cdba5090449f30d782a | |
parent | 7edaae74762d41d86f002fc50ccabdda429a510d (diff) | |
download | master-187ad058-7e31015103d68487607d9e24b3cae1e01df19ba0.tar.gz master-187ad058-7e31015103d68487607d9e24b3cae1e01df19ba0.tar.bz2 master-187ad058-7e31015103d68487607d9e24b3cae1e01df19ba0.zip |
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
-rw-r--r-- | target/linux/ar71xx/image/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 81ea68fe42..c5d79935bf 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 |