aboutsummaryrefslogtreecommitdiffstats
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
parent77fb42c9cb51447edbb4b682b406ed809e076064 (diff)
downloadupstream-e3dc76af1b7ed7ccae6f1246c9cfd0cce60ced3e.tar.gz
upstream-e3dc76af1b7ed7ccae6f1246c9cfd0cce60ced3e.tar.bz2
upstream-e3dc76af1b7ed7ccae6f1246c9cfd0cce60ced3e.zip
fix board name for nvram and switch packages on brcm-2.4 after [8653]
SVN-Revision: 8664
-rw-r--r--package/broadcom-diag/Makefile2
-rw-r--r--package/switch/Makefile10
2 files changed, 6 insertions, 6 deletions
diff --git a/package/broadcom-diag/Makefile b/package/broadcom-diag/Makefile
index e0827b0fbc..45bce0a3e8 100644
--- a/package/broadcom-diag/Makefile
+++ b/package/broadcom-diag/Makefile
@@ -26,7 +26,7 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
-ifeq ($(BOARD),brcm)
+ifeq ($(BOARD),brcm-2.4)
BUILDFLAGS=-DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include $(if $(CONFIG_LINUX_2_4),-DLINUX_2_4)
endif
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