X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9e0a57b449c8575004476f06b8435648fcf44a26..6e8c336f90f207ebc635f7ee57284256ec675bf2:/target/linux/ar7-2.4/image/Makefile?ds=sidebyside diff --git a/target/linux/ar7-2.4/image/Makefile b/target/linux/ar7-2.4/image/Makefile index bcdef970c..e10d1aa5c 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"