summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/image
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-05-02 15:28:31 +0000
committerJonas Gorski <jogo@openwrt.org>2013-05-02 15:28:31 +0000
commit24636fcabf64031a93a930ea1cd26f086acd30f8 (patch)
tree52ff84a46508e1d89c9048e9034772b713846068 /target/linux/brcm63xx/image
parentd11efa14286ba8b6e6bfa3af0f3c16e1f8492682 (diff)
downloadmtk-20170518-24636fcabf64031a93a930ea1cd26f086acd30f8.zip
mtk-20170518-24636fcabf64031a93a930ea1cd26f086acd30f8.tar.gz
mtk-20170518-24636fcabf64031a93a930ea1cd26f086acd30f8.tar.bz2
bcm63xx: split into two subtargets, generic and SMP
Make SMP a subtarget, since it only supports BCM6362 and BCM6368. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36527
Diffstat (limited to 'target/linux/brcm63xx/image')
-rwxr-xr-xtarget/linux/brcm63xx/image/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index 5811cdb..69621dc 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -154,6 +154,7 @@ endef
define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
# Various routers
+ ifeq ($(CONFIG_TARGET_brcm63xx_generic),y)
$(call Image/Build/CFE,$(1),96328avng,6328,96328avng-4M-flash-generic,,--pad 2)
$(call Image/Build/CFE,$(1),96328avng,6328,96328avng-8M-flash-generic,,--pad 4)
$(call Image/Build/CFE,$(1),96328avng,6328,96328avng-16M-flash-generic,,--pad 8)
@@ -176,9 +177,11 @@ define Image/Build
$(call Image/Build/CFE,$(1),96348A-122,6348,96348A-122-generic)
$(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic)
$(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic)
+ endif
$(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic)
$(call Image/Build/CFE,$(1),96368MVWG,6368,96368MVWG-generic)
+ ifeq ($(CONFIG_TARGET_brcm63xx_generic),y)
# BT Voyager V210_BTR
$(call Image/Build/CFE,$(1),V210_BB,6348,BTV210_BTR,,--layoutver 5)
# BT Voyager V210_ROI, V210_WB
@@ -203,8 +206,12 @@ define Image/Build
$(call Image/Build/CFEFIXUP,$(1),96348GW,GW6200,6348,GW6200,$(shell printf '\x99'))
# Neufbox4
$(call Image/Build/CFE,$(1),96358VW,6358,NEUFBOX4,OpenWRT-$(REVISION))
+ endif
+
# Neufbox6
$(call Image/Build/CFE,$(1),NB6-SER-r0,6362,NEUFBOX6,OpenWRT-$(REVISION))
+
+ ifeq ($(CONFIG_TARGET_brcm63xx_generic),y)
# Comtrend 6373
$(call Image/Build/CFE,$(1),CT6373-1,6358,CT6373)
# Comtrend 536, 5621
@@ -272,6 +279,7 @@ define Image/Build
# T-Com Speedport W 303V Typ B
$(call Image/Build/SPW303V,$(1),96358-502V,6358,SPW303V)
+ endif
endef
$(eval $(call BuildImage))