summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-01-29 14:56:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-01-29 14:56:45 +0000
commitc2c0d74f67e96527ee68bf68ee950bc477e5083e (patch)
treea8993ac0bc1e24cba330cc6774bef12406d33d0d /target/linux
parentd7cb033a049e2e2e656b8a4b48d7ad692d8dbe54 (diff)
downloadmtk-20170518-c2c0d74f67e96527ee68bf68ee950bc477e5083e.zip
mtk-20170518-c2c0d74f67e96527ee68bf68ee950bc477e5083e.tar.gz
mtk-20170518-c2c0d74f67e96527ee68bf68ee950bc477e5083e.tar.bz2
generate images for old CFE based boards like the Davolink DV201
SVN-Revision: 14264
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/brcm63xx/image/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index 883c6e5..c9a728b 100644
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -45,6 +45,14 @@ define Image/Build/RedBoot
dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/openwrt-$(1)-vmlinux.gz bs=65536 conv=sync
endef
+define Image/Build/CFEOLD
+ $(TOPDIR)/scripts/brcmImage.pl -t -p \
+ -b $(2) -c $(3) \
+ -k $(KDIR)/vmlinux.lzma.cfe \
+ -r $(KDIR)/root.$(1) \
+ -o $(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin
+endef
+
define Build/Clean
$(MAKE) -C lzma-loader clean
endef
@@ -86,6 +94,8 @@ define Image/Build
$(call Image/Build/CFE,$(1),96358VW,6358)
# Comtrend 536
$(call Image/Build/CFE,$(1),96348GW-11,6348)
+ # Davolink DV201AMR
+ $(call Image/Build/CFEOLD,$(1),DV201AMR,6348)
# DG834GT
$(call Image/Build/CFE,$(1),96348GW-10,6348)
# Sagem F@ST2404