mirror of
https://github.com/proski/madwifi
synced 2024-11-29 17:53:12 +03:00
2c0d8db912
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2721 0192ed92-7a03-0410-a25b-9323aeb14dbd
38 lines
826 B
Makefile
38 lines
826 B
Makefile
#
|
|
# 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
|
|
include $(TOP)/ath_hal/ah_target.inc
|
|
|
|
ATH= $(TOP)/ath
|
|
ATH_HAL=$(TOP)/ath_hal
|
|
COMPAT= $(TOP)/include
|
|
HAL= $(TOP)/hal
|
|
|
|
INCS = -include $(COMPAT)/compat.h -I$(COMPAT)
|
|
INCS += -I$(TOP) -I$(ATH) -I$(ATH_HAL) -I$(HAL)
|
|
EXTRA_CFLAGS += $(INCS) $(COPTS) -DOPT_AH_H=\"public/$(TARGET).opt_ah.h\"
|
|
|
|
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
|