1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:01:52 +02:00

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
This commit is contained in:
juhosg 2010-04-28 10:46:38 +00:00
parent 3bed6fa4d4
commit 24ddbc0d46

View File

@ -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