From: Nicolas Thill Date: Fri, 7 Sep 2007 12:54:24 +0000 (+0000) Subject: fix board name for nvram and switch packages on brcm-2.4 after [8653] X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e3dc76af1b7ed7ccae6f1246c9cfd0cce60ced3e;p=openwrt%2Fstaging%2Frmilecki.git fix board name for nvram and switch packages on brcm-2.4 after [8653] SVN-Revision: 8664 --- diff --git a/package/broadcom-diag/Makefile b/package/broadcom-diag/Makefile index e0827b0fbc3..45bce0a3e89 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 b7c6dc8362b..cdf1f512932 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