From: Gabor Juhos Date: Mon, 18 Jan 2010 16:46:57 +0000 (+0000) Subject: ar71xx: create rescue image for the WZR-HP-G300NH X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5959e9f4981b9ad6b97f7c96f9ac8dbf64fd0048;p=openwrt%2Fstaging%2Fstintel.git ar71xx: create rescue image for the WZR-HP-G300NH SVN-Revision: 19223 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index d3baec69e1..09d743c479 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -129,6 +129,10 @@ define Image/Build/WZRHPG300NH dd if=$(KDIR)/vmlinux-$(2).uImage bs=1024k conv=sync; \ dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \ ) > $(call imgname,$(1),$(2))-sysupgrade.bin; \ + ( \ + echo -n -e "# Airstation Public Fmt1\x00\x00\x00\x00\x00\x00\x00\x00"; \ + dd if=$(call imgname,$(1),$(2))-sysupgrade.bin; \ + ) > $(call imgname,$(1),$(2))-tftp.bin; \ fi; fi endef