From: Gabor Juhos Date: Sun, 22 Jun 2008 19:10:37 +0000 (+0000) Subject: generate firmware images for the ZyXEL P-334WT/P-335WT devices X-Git-Tag: reboot~26234 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1a7f41506ddef25ef3c7c6be5651ad90eed1b8b3;p=openwrt%2Fstaging%2Flynxis.git generate firmware images for the ZyXEL P-334WT/P-335WT devices SVN-Revision: 11562 --- 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