summaryrefslogtreecommitdiff
path: root/package/switch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-07 12:54:24 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-07 12:54:24 +0000
commite3dc76af1b7ed7ccae6f1246c9cfd0cce60ced3e (patch)
treedaefc20255761d3bd296306358aff73b23d9005a /package/switch
parent77fb42c9cb51447edbb4b682b406ed809e076064 (diff)
downloadmtk-20170518-e3dc76af1b7ed7ccae6f1246c9cfd0cce60ced3e.zip
mtk-20170518-e3dc76af1b7ed7ccae6f1246c9cfd0cce60ced3e.tar.gz
mtk-20170518-e3dc76af1b7ed7ccae6f1246c9cfd0cce60ced3e.tar.bz2
fix board name for nvram and switch packages on brcm-2.4 after [8653]
SVN-Revision: 8664
Diffstat (limited to 'package/switch')
-rw-r--r--package/switch/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/switch/Makefile b/package/switch/Makefile
index b7c6dc8..cdf1f51 100644
--- a/package/switch/Makefile
+++ b/package/switch/Makefile
@@ -34,12 +34,12 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
-ifeq ($(BOARD),brcm)
-BUILDFLAGS := -DBROADCOM -DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include
+ifeq ($(BOARD),brcm-2.4)
+ BUILDFLAGS := -DBROADCOM -DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include
else
-ifeq ($(BOARD),brcm47xx)
-BUILDFLAGS := -DBROADCOM
-endif
+ ifeq ($(BOARD),brcm47xx)
+ BUILDFLAGS := -DBROADCOM
+ endif
endif