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
master
Nicolas Thill 2007-09-07 12:54:24 +00:00
parent a6131c8f6e
commit 95f277fd2d
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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