mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-03 12:54:38 +00:00
add ar7 sErCoMm image fix (patch by Bernardo Innocenti)
SVN-Revision: 6197
This commit is contained in:
parent
3eaf8def08
commit
1fe08f3c58
@ -80,7 +80,7 @@ define Image/Build/CyberTAN
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/sErCoMm
|
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
|
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"
|
$(STAGING_DIR)/bin/dgfirmware -f -w "$(BIN_DIR)/openwrt-$(2)-$(KERNEL)-$(3).img" "$(KDIR)/dgfw.tmp"
|
||||||
rm -f "$(KDIR)/dgfw.tmp"
|
rm -f "$(KDIR)/dgfw.tmp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user