aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-18 16:46:57 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-18 16:46:57 +0000
commit5959e9f4981b9ad6b97f7c96f9ac8dbf64fd0048 (patch)
tree960f7ea4f9f98f1f509d7f9bfaa6c469b87e24bb /target/linux
parent9d50c384be09193691b009ec6cf680e591163985 (diff)
downloadupstream-5959e9f4981b9ad6b97f7c96f9ac8dbf64fd0048.tar.gz
upstream-5959e9f4981b9ad6b97f7c96f9ac8dbf64fd0048.tar.bz2
upstream-5959e9f4981b9ad6b97f7c96f9ac8dbf64fd0048.zip
ar71xx: create rescue image for the WZR-HP-G300NH
SVN-Revision: 19223
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/Makefile4
1 files changed, 4 insertions, 0 deletions
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