fix madwifi compile for atheros 2.6
SVN-Revision: 6260
This commit is contained in:
parent
07031eb1f3
commit
c7d1c75fad
1 changed files with 3 additions and 3 deletions
|
@ -100,19 +100,19 @@ MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \
|
||||||
TOOLPREFIX="$(KERNEL_CROSS)" \
|
TOOLPREFIX="$(KERNEL_CROSS)" \
|
||||||
TOOLPATH="$(KERNEL_CROSS)" \
|
TOOLPATH="$(KERNEL_CROSS)" \
|
||||||
KERNELPATH="$(LINUX_DIR)" \
|
KERNELPATH="$(LINUX_DIR)" \
|
||||||
LDOPTS=" " \
|
LDOPTS="--no-warn-mismatch " \
|
||||||
ATH_RATE="ath_rate/$(RATE_CONTROL)" \
|
ATH_RATE="ath_rate/$(RATE_CONTROL)" \
|
||||||
DOMULTI=1
|
DOMULTI=1
|
||||||
|
|
||||||
ifeq ($(findstring AHB,$(BUS)),AHB)
|
ifeq ($(findstring AHB,$(BUS)),AHB)
|
||||||
define Build/Compile/ahb
|
define Build/Compile/ahb
|
||||||
$(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" LDOPTS="--no-warn-mismatch" modules
|
$(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" modules
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(findstring PCI,$(BUS)),PCI)
|
ifeq ($(findstring PCI,$(BUS)),PCI)
|
||||||
define Build/Compile/pci
|
define Build/Compile/pci
|
||||||
$(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" LDOPTS="--no-warn-mismatch" modules
|
$(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" modules
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue