fix board name for nvram and switch packages on brcm-2.4 after [8653]

SVN-Revision: 8664
master
Nicolas Thill 17 years ago
parent 77fb42c9cb
commit e3dc76af1b
  1. 2
      package/broadcom-diag/Makefile
  2. 10
      package/switch/Makefile

@ -26,7 +26,7 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)/ $(CP) ./src/* $(PKG_BUILD_DIR)/
endef 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) BUILDFLAGS=-DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include $(if $(CONFIG_LINUX_2_4),-DLINUX_2_4)
endif endif

@ -34,12 +34,12 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)/ $(CP) ./src/* $(PKG_BUILD_DIR)/
endef endef
ifeq ($(BOARD),brcm) ifeq ($(BOARD),brcm-2.4)
BUILDFLAGS := -DBROADCOM -DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include BUILDFLAGS := -DBROADCOM -DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include
else else
ifeq ($(BOARD),brcm47xx) ifeq ($(BOARD),brcm47xx)
BUILDFLAGS := -DBROADCOM BUILDFLAGS := -DBROADCOM
endif endif
endif endif

Loading…
Cancel
Save