summaryrefslogtreecommitdiff
path: root/target/linux/adm5120
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-06-22 19:10:37 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-06-22 19:10:37 +0000
commit1a7f41506ddef25ef3c7c6be5651ad90eed1b8b3 (patch)
tree92cc36ac72187e388902420007a1fe4547a8bdca /target/linux/adm5120
parent465a60a463e071fe166943207b21303966c70efb (diff)
downloadmtk-20170518-1a7f41506ddef25ef3c7c6be5651ad90eed1b8b3.zip
mtk-20170518-1a7f41506ddef25ef3c7c6be5651ad90eed1b8b3.tar.gz
mtk-20170518-1a7f41506ddef25ef3c7c6be5651ad90eed1b8b3.tar.bz2
generate firmware images for the ZyXEL P-334WT/P-335WT devices
SVN-Revision: 11562
Diffstat (limited to 'target/linux/adm5120')
-rw-r--r--target/linux/adm5120/image/router_be.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/adm5120/image/router_be.mk b/target/linux/adm5120/image/router_be.mk
index 24030f5..5a16672 100644
--- a/target/linux/adm5120/image/router_be.mk
+++ b/target/linux/adm5120/image/router_be.mk
@@ -6,7 +6,24 @@
#
define Image/Build/ZyXEL
+ $(call Image/Build/Loader,$(2),bin,0x80500000,0,y,$(2))
$(call Image/Build/TRXNoloader,$(call imgname,$(1),$(2)).trx,$(1))
+ $(STAGING_DIR_HOST)/bin/mkzynfw -B $(2) \
+ -b $(KDIR)/loader-$(2).bin \
+ -r $(call imgname,$(1),$(2)).trx:0x10000 \
+ -o $(call imgname,$(1),$(2))-webui.bin
+endef
+
+define Image/Build/Template/ZyXEL
+ $(call Image/Build/ZyXEL,$(1),$(2))
+endef
+
+define Image/Build/Template/ZyXEL/squashfs
+ $(call Image/Build/Template/ZyXEL,squashfs,$(1))
+endef
+
+define Image/Build/Template/ZyXEL/jffs2
+ $(call Image/Build/Template/ZyXEL,jffs2,$(1))
endef
define Image/Build/Template/ZyXEL/Initramfs