mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
backfire: ar71xx: create separate 'factory' and 'sysupgrade' images for the WRT160NL (backport of r21168)
The 'factory' image requires the garbage at the end of the image. Flashing from the original web interface does not work without that. git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21223 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -299,7 +299,10 @@ define Image/Build/CyberTAN
|
|||||||
-x 32 -a 0x10000 -x -32 -f $(KDIR)/root.$(1)
|
-x 32 -a 0x10000 -x -32 -f $(KDIR)/root.$(1)
|
||||||
-$(STAGING_DIR_HOST)/bin/addpattern -B $(2) -v v$(4) \
|
-$(STAGING_DIR_HOST)/bin/addpattern -B $(2) -v v$(4) \
|
||||||
-i $(KDIR)/image.tmp \
|
-i $(KDIR)/image.tmp \
|
||||||
-o $(call imgname,$(1),$(2)).bin
|
-o $(call imgname,$(1),$(2))-sysupgrade.bin
|
||||||
|
-$(STAGING_DIR_HOST)/bin/addpattern -B $(2) -v v$(4) -g \
|
||||||
|
-i $(KDIR)/image.tmp \
|
||||||
|
-o $(call imgname,$(1),$(2))-factory.bin
|
||||||
rm $(KDIR)/image.tmp
|
rm $(KDIR)/image.tmp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user