aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/image/router_be.mk
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
commitdb36f26877e4f851d516ac4e0a2a16af72d9f05f (patch)
tree6270027e249ebb7b8af067b0e63f13d5d2ed34c7 /target/linux/adm5120/image/router_be.mk
parenta1ac651b2efbaed0fe6c7b1f29ea33ff4e256522 (diff)
downloadupstream-db36f26877e4f851d516ac4e0a2a16af72d9f05f.tar.gz
upstream-db36f26877e4f851d516ac4e0a2a16af72d9f05f.tar.bz2
upstream-db36f26877e4f851d516ac4e0a2a16af72d9f05f.zip
[adm5120] generate firmware images for the ZyXEL P-334WT/P-335WT devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11562 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/image/router_be.mk')
-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 24030f5468..5a166722fb 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