diff options
Diffstat (limited to 'package/switch/Makefile')
-rw-r--r-- | package/switch/Makefile | 10 |
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 |