From: Jonas Gorski Date: Sun, 25 Nov 2012 13:42:43 +0000 (+0000) Subject: AA: bcm63xx: properly prevent known unusable images from being built X-Git-Tag: attitude_adjustment_12.09~138 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5e118f1798343bf8d1ebfc7b6b19a85764945cad;p=openwrt%2Fsvn-archive%2Fopenwrt.git AA: bcm63xx: properly prevent known unusable images from being built Commenting out does not work, so guard the calls with a check for BROKEN. Signed-off-by: Jonas Gorski SVN-Revision: 34328 --- diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 87ace17d67..bdbda32ccb 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -145,15 +145,17 @@ endef define Image/Build dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync # Various routers - # $(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) - # $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-4M-flash-generic,,--pad 2) - # $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-8M-flash-generic,,--pad 4) - # $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-16M-flash-generic,,--pad 8) - # $(call Image/Build/CFE,$(1),96345GW2,6345,96345GW2-generic) - # $(call Image/Build/CFE,$(1),96345GW2,6345,96348GW2-bc221,,--layoutver 5) - # $(call Image/Build/CFE,$(1),96345GW2,6345,92345GW2-rev,OpenWRT-$(REVISION)) +ifneq ($(CONFIG_BROKEN),) + $(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) + $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-4M-flash-generic,,--pad 2) + $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-8M-flash-generic,,--pad 4) + $(call Image/Build/CFE,$(1),963281TAN,6328,963281TAN-16M-flash-generic,,--pad 8) + $(call Image/Build/CFE,$(1),96345GW2,6345,96345GW2-generic) + $(call Image/Build/CFE,$(1),96345GW2,6345,96348GW2-bc221,,--layoutver 5) + $(call Image/Build/CFE,$(1),96345GW2,6345,92345GW2-rev,OpenWRT-$(REVISION)) +endif $(call Image/Build/CFE,$(1),96348GW,6348,96348GW-generic,,) $(call Image/Build/CFE,$(1),96348R,6348,96348R-generic,,) $(call Image/Build/CFE,$(1),96348GW,6348,96348GW-bc221,,--layoutver 5) @@ -164,8 +166,10 @@ 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) +ifneq ($(CONFIG_BROKEN),) # $(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic) # $(call Image/Build/CFE,$(1),96368MVWG,6368,96368MVWG-generic) +endif # BT Voyager V210_BTR $(call Image/Build/CFE,$(1),V210_BB,6348,BTV210_BTR,,--layoutver 5) @@ -192,7 +196,9 @@ define Image/Build # Neufbox4 $(call Image/Build/CFE,$(1),96358VW,6358,NEUFBOX4,OpenWRT-$(REVISION)) # Neufbox6 - # $(call Image/Build/CFE,$(1),NB6-SER-r0,6362,NEUFBOX6,OpenWRT-$(REVISION)) +ifneq ($(CONFIG_BROKEN),) + $(call Image/Build/CFE,$(1),NB6-SER-r0,6362,NEUFBOX6,OpenWRT-$(REVISION)) +endif # Comtrend 6373 $(call Image/Build/CFE,$(1),CT6373-1,6358,CT6373) # Comtrend 536, 5621