-define Image/Build/Template/Compex/squashfs
- $(call Image/Build/MyLoader,squashfs,$(1))
-endef
-
-define Image/Build/Template/WRT400N/squashfs
- $(call Image/Build/WRT400N,squashfs,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/WRT400N/jffs2-64k
- $(call Image/Build/WRT400N,jffs2-64k,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/DIR825B1/squashfs
- $(call Image/Build/DIR825B1,squashfs,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/DIR825B1/jffs2-64k
- $(call Image/Build/DIR825B1,jffs2-64k,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/CyberTAN/squashfs
- $(call Image/Build/CyberTAN,squashfs,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/CyberTAN/jffs2-64k
- $(call Image/Build/CyberTAN,jffs2-64k,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/Cameo/squashfs
- $(call Image/Build/Cameo,squashfs,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/AP83/squashfs
- $(call Image/Build/AP83,squashfs,$(1),$(2))
-endef
-
-define Image/Build/Template/AP83/jffs2-64k
- $(call Image/Build/AP83,jffs2-64k,$(1),$(2))
-endef
-
-define Image/Build/Template/PB4X/squashfs
- $(call Image/Build/PB4X,squashfs,$(1),$(2))
-endef
-
-define Image/Build/Template/PB4X/jffs2-64k
- $(call Image/Build/PB4X,jffs2-64k,$(1),$(2))
+define Image/Build/WNDR3700/initramfs
+ $(call PatchKernelLzma,$(2),$(3) $(wndr3700_mtdlayout))
+ $(call MkImageLzma,$(KDIR)/vmlinux-$(2).bin.lzma,$(KDIR)/vmlinux-$(2).uImage)
+ $(STAGING_DIR_HOST)/bin/wndr3700 \
+ $(KDIR)/vmlinux-$(2).uImage \
+ $(call imgname,$(1),$(2))-uImage.bin