diff options
author | Jonas Gorski <jogo@openwrt.org> | 2012-11-25 13:42:43 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2012-11-25 13:42:43 +0000 |
commit | d18349fe4264695dceb1d1525aa84263b470a268 (patch) | |
tree | 7d782ddefbbcd2d4014307bdbca302358befe389 /target | |
parent | f37275bddaf66f75e58dff389123fb1f01e8e0d5 (diff) | |
download | upstream-d18349fe4264695dceb1d1525aa84263b470a268.tar.gz upstream-d18349fe4264695dceb1d1525aa84263b470a268.tar.bz2 upstream-d18349fe4264695dceb1d1525aa84263b470a268.zip |
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 <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm63xx/image/Makefile | 26 |
1 files changed, 16 insertions, 10 deletions
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 |