From: juhosg Date: Wed, 28 Apr 2010 10:46:38 +0000 (+0000) Subject: backfire: ar71xx: create separate 'factory' and 'sysupgrade' images for the Planex... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=24ddbc0d464c9ff493a787e9d92a87276bc4c081;p=10.03%2Fopenwrt.git backfire: ar71xx: create separate 'factory' and 'sysupgrade' images for the Planex boards (backport of r21175) git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21230 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 4b340f568..f8ecb42c0 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -273,13 +273,13 @@ define Image/Build/Planex -d $(KDIR)/vmlinux-$(2).bin.gz $(KDIR)/vmlinux-$(2).uImage; \ ( \ dd if=$(KDIR)/vmlinux-$(2).uImage bs=1408k conv=sync; \ - dd if=$(KDIR)/root.$(1) bs=6208k conv=sync; \ - ) > $(call imgname,$(1),$(2)).bin; \ + dd if=$(KDIR)/root.$(1); \ + ) > $(call imgname,$(1),$(2))-sysupgrade.bin; \ $(STAGING_DIR_HOST)/bin/mkplanexfw \ -B $(2) \ -v 2.00.00 \ - -i $(call imgname,$(1),$(2)).bin \ - -o $(call imgname,$(1),$(2)).webui; \ + -i $(call imgname,$(1),$(2))-sysupgrade.bin \ + -o $(call imgname,$(1),$(2))-factory.bin; \ fi; fi endef