1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00

[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
This commit is contained in:
juhosg 2008-06-22 19:10:37 +00:00
parent 3d4d3c44b8
commit fc052689d0

View File

@ -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