aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch/Makefile
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
commit95f277fd2d7a280143cc8096709856b23b2401b9 (patch)
tree27e7426b91d37b02380bf122b34cb11c173316a3 /package/switch/Makefile
parenta6131c8f6eca675e069f5bfa359c8e465a351d14 (diff)
downloadupstream-95f277fd2d7a280143cc8096709856b23b2401b9.tar.gz
upstream-95f277fd2d7a280143cc8096709856b23b2401b9.tar.bz2
upstream-95f277fd2d7a280143cc8096709856b23b2401b9.zip
fix board name for nvram and switch packages on brcm-2.4 after [8653]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8664 3c298f89-4303-0410-b956-a3cf2f4a3e73
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