summaryrefslogtreecommitdiff
path: root/package/switch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/switch/Makefile')
-rw-r--r--package/switch/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/switch/Makefile b/package/switch/Makefile
index b7c6dc8362..cdf1f51293 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