From: juhosg 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.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=fce30da13a4ccf6d1e9fc80d3d89838eeee7d9d3 ar71xx: create rescue image for the WZR-HP-G300NH git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19223 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index d3baec69e..09d743c47 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