Author: rmilecki Date: 2015-03-31 14:17:08 +0200 (Tue, 31 Mar 2015) New Revision: 45183
Modified: trunk/target/linux/brcm47xx/image/Makefile Log: brcm47xx: image: convert generic subtarget to the new images system Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]> Modified: trunk/target/linux/brcm47xx/image/Makefile =================================================================== --- trunk/target/linux/brcm47xx/image/Makefile 2015-03-31 11:36:20 UTC (rev 45182) +++ trunk/target/linux/brcm47xx/image/Makefile 2015-03-31 12:17:08 UTC (rev 45183) @@ -178,25 +178,18 @@ # Subtarget generic ################################################# -# $(1): filesystem type. -define Image/Build/generic/jffs2-64k - # BCM4705 with tg3 - $(call Image/Build/CyberTAN,$(1),wrt300n_v11,EWC2,1.51.2,$(patsubst jffs2-%,jffs2,$(1))) - $(call Image/Build/CyberTAN,$(1),wrt310n_v1,310N,1.0.10,$(patsubst jffs2-%,jffs2,$(1))) - $(call Image/Build/CyberTAN,$(1),wrt350n_v1,EWCG,1.04.1,$(patsubst jffs2-%,jffs2,$(1))) - $(call Image/Build/CyberTAN,$(1),wrt610n_v1,610N,1.0.1,$(patsubst jffs2-%,jffs2,$(1))) +ifeq ($(SUBTARGET),generic) + # BCM4705 with tg3 + $(eval $(call LinksysDevice,wrt300n-v1.1,EWC2,1.51.2)) + $(eval $(call LinksysDevice,wrt310n-v1,310N,1.0.10)) + $(eval $(call LinksysDevice,wrt350n-v1,EWCG,1.04.1)) + $(eval $(call LinksysDevice,wrt610n-v1,610N,1.0.1)) - # BCMA SoC with SSB WiFi - $(call Image/Build/CyberTAN,$(1),wrt610n_v2,610N,2.0.0,$(patsubst jffs2-%,jffs2,$(1))) - $(call Image/Build/CyberTAN,$(1),e3000_v1,61XN,1.0.3,$(patsubst jffs2-%,jffs2,$(1))) -endef + # BCMA SoC with SSB WiFi + $(eval $(call LinksysDevice,wrt610n-v2,610N,2.0.0)) + $(eval $(call LinksysDevice,e3000-v1,61XN,1.0.3)) +endif -# $(1): filesystem type. -define Image/Build/generic/squashfs - $(call Image/Build/generic/jffs2-64k,$(1)) - $(call Image/Build/generic/jffs2-128k,$(1)) -endef - ################################################# # Subtarget legacy ################################################# _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
