From 5959e9f4981b9ad6b97f7c96f9ac8dbf64fd0048 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 18 Jan 2010 16:46:57 +0000 Subject: ar71xx: create rescue image for the WZR-HP-G300NH SVN-Revision: 19223 --- target/linux/ar71xx/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3