2007-10-04 17:07:51 +04:00
|
|
|
#
|
|
|
|
# Makefile for AMRR (Adaptive Multi Rate Retry) control algorithm.
|
|
|
|
#
|
|
|
|
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/madwifi/ath_rate/amrr/Makefile.kernel#1 $
|
|
|
|
#
|
|
|
|
|
|
|
|
src ?= .
|
|
|
|
srctree ?= .
|
|
|
|
|
|
|
|
TOP = $(srctree)/$(src)/../..
|
|
|
|
|
|
|
|
include $(TOP)/BuildCaps.inc
|
|
|
|
|
|
|
|
ATH= $(TOP)/ath
|
|
|
|
COMPAT= $(TOP)/include
|
2009-04-07 05:26:53 +04:00
|
|
|
HAL= $(TOP)/ath_hal
|
2007-10-04 17:07:51 +04:00
|
|
|
|
|
|
|
INCS = -include $(COMPAT)/compat.h -I$(COMPAT)
|
2009-04-07 05:26:53 +04:00
|
|
|
INCS += -I$(TOP) -I$(ATH) -I$(HAL)
|
|
|
|
EXTRA_CFLAGS += $(INCS) $(COPTS)
|
2007-10-04 17:07:51 +04:00
|
|
|
|
|
|
|
ifneq ($(VERSION).$(PATCHLEVEL),2.4)
|
|
|
|
obj-$(CONFIG_ATHEROS) += ath_rate_amrr.o
|
|
|
|
ath_rate_amrr-objs := amrr.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(VERSION).$(PATCHLEVEL),2.4)
|
|
|
|
obj-$(CONFIG_ATHEROS) := amrr.o
|
|
|
|
|
|
|
|
export-objs := amrr.o
|
|
|
|
list-multi := ath_rate_amrr.o
|
|
|
|
|
|
|
|
O_TARGET := ath_rate.o
|
|
|
|
include $(TOPDIR)/Rules.make
|
|
|
|
endif
|