summaryrefslogtreecommitdiff
path: root/target/linux
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
commit1fe08f3c58484659827674a1b2fcdeb82d02f87a (patch)
tree2fe3b107164be20e6798a84fd290f462b90c022a /target/linux
parent3eaf8def08e631ae5408b3395a20d631ebdfc33e (diff)
downloadmtk-20170518-1fe08f3c58484659827674a1b2fcdeb82d02f87a.zip
mtk-20170518-1fe08f3c58484659827674a1b2fcdeb82d02f87a.tar.gz
mtk-20170518-1fe08f3c58484659827674a1b2fcdeb82d02f87a.tar.bz2
add ar7 sErCoMm image fix (patch by Bernardo Innocenti)
SVN-Revision: 6197
Diffstat (limited to 'target/linux')
-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 bcdef97..e10d1aa 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"