mirror of https://github.com/hak5/openwrt.git
ar71xx: create separate 'factory' and 'sysupgrade' images for the WRT160NL
The 'factory' image requires the garbage at the end of the image. Flashing from the original web interface does not work without that. SVN-Revision: 21168lede-17.01
parent
893bfa5588
commit
97b031b57f
|
@ -320,7 +320,10 @@ define Image/Build/CyberTAN
|
|||
-x 32 -a 0x10000 -x -32 -f $(KDIR)/root.$(1)
|
||||
-$(STAGING_DIR_HOST)/bin/addpattern -B $(2) -v v$(4) \
|
||||
-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
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue