aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.4/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-25 10:39:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-25 10:39:02 +0000
commit0f213a6fea9a81c759906abdb62b53fdc295c596 (patch)
tree3bf15efea544f6f6d24373b58a2855d18d738c74 /target/linux/ar7-2.4/image
parentbac734479e9ccaa5661e0cf3a74832566260f068 (diff)
downloadupstream-0f213a6fea9a81c759906abdb62b53fdc295c596.tar.gz
upstream-0f213a6fea9a81c759906abdb62b53fdc295c596.tar.bz2
upstream-0f213a6fea9a81c759906abdb62b53fdc295c596.zip
add ar7 sErCoMm image fix (patch by Bernardo Innocenti)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.4/image')
-rw-r--r--target/linux/ar7-2.4/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar7-2.4/image/Makefile b/target/linux/ar7-2.4/image/Makefile
index bcdef970cf..e10d1aa5c1 100644
--- a/target/linux/ar7-2.4/image/Makefile
+++ b/target/linux/ar7-2.4/image/Makefile
@@ -80,7 +80,7 @@ define Image/Build/CyberTAN
endef
define Image/Build/sErCoMm
- cat sercomm/adam2.bin "$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin" > "$(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(3).img"
+ cat sercomm/adam2.bin "$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).bin" > "$(KDIR)/dgfw.tmp"
dd if=sercomm/$(2) of="$(KDIR)/dgfw.tmp" bs=$$$$((0x3e0000 - 80)) seek=1 conv=notrunc
$(STAGING_DIR)/bin/dgfirmware -f -w "$(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(3).img" "$(KDIR)/dgfw.tmp"
rm -f "$(KDIR)/dgfw.tmp"