define Image/Build/MyLoader
-$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) \
- -p0x30000:0xc0000:ahl:0x80060000:kernel:$(KDIR)/vmlinux.bin.lzma \
+ -p0x30000:0xc0000:al:0x80060000:kernel:$(KDIR)/vmlinux.bin.lzma \
-p0xf0000:0:::rootfs:$(KDIR)/root.$(1) \
$(call imgname,$(1),$(2)).img
endef
-B $(4) -v $(5).$(6).OpenWrt.$(REVISION) \
-k $(KDIR)/vmlinux-$(2).bin.lzma \
-r $(BIN_DIR)/openwrt-$(BOARD)-root.$(1) \
- -o $(BIN_DIR)/openwrt-$(BOARD)-$(2)-$(1).bin
+ -o $(call imgname,$(1),$(2)).bin
endef
define Image/Build/Planex
$(call Image/Build/Template/Linksys8M,squashfs,$(1),$(2),$(3))
endef
+define Image/Build/Template/Linksys8M/jffs2-64k
+ $(call Image/Build/Template/Linksys8M,jffs2-64k,$(1),$(2),$(3))
+endef
+
define Image/Build/Template/AP81
$(call Image/Build/AP81,$(1),$(2),$(3),$(4))
endef
$(call Image/Build/Template/AP83,squashfs,$(1),$(2))
endef
+define Image/Build/Template/AP83/jffs2-64k
+ $(call Image/Build/Template/AP83,jffs2-64k,$(1),$(2))
+endef
+
define Image/Build/Template/TPLINK
$(call Image/Build/TPLINK,$(1),$(2),$(3),$(4))
endef
$(call Image/Build/Template/UBNT,squashfs,$(1),$(2),$(3),$(4),$(5))
endef
+define Image/Build/Template/UBNT/jffs2-64k
+ $(call Image/Build/Template/UBNT,jffs2-64k,$(1),$(2),$(3),$(4),$(5))
+endef
+
define Image/Build/Template/Planex
$(call Image/Build/Planex,$(1),$(2),$(3))
endef
$(call Image/Build/Template/Planex,squashfs,$(1),$(2))
endef
+define Image/Build/Template/Planex/jffs2-64k
+ $(call Image/Build/Template/Planex,jffs2-64k,$(1),$(2))
+endef
+
define Image/Build/Profile/AP83
$(call Image/Build/Template/AP83/$(1),ap83,board=AP83)
endef
$(call Image/Build/Template/Planex/$(1),mzk-w300nh,board=MZK-W300NH)
endef
+define Image/Build/Profile/TLWR741NDV1
+ $(call Image/Build/Template/TPLINK/$(1),tl-wr741ndv1,board=TL-WR741ND,TL-WR741NDv1)
+endef
+
define Image/Build/Profile/TLWR841NDV3
$(call Image/Build/Template/TPLINK/$(1),tl-wr841ndv3,board=TL-WR941ND,TL-WR841NDv3)
endef
$(call Image/Build/Profile/MZKW300NH,$(1))
$(call Image/Build/Profile/TEW632BRP,$(1))
$(call Image/Build/Profile/TEW652BRP,$(1))
+ $(call Image/Build/Profile/TLWR741NDV1,$(1))
$(call Image/Build/Profile/TLWR841NDV3,$(1))
$(call Image/Build/Profile/TLWR941NDV2,$(1))
$(call Image/Build/Profile/UBNT,$(1))