From 1fe08f3c58484659827674a1b2fcdeb82d02f87a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 25 Jan 2007 10:39:02 +0000 Subject: add ar7 sErCoMm image fix (patch by Bernardo Innocenti) SVN-Revision: 6197 --- target/linux/ar7-2.4/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar7-2.4') 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" -- cgit v1.2.3