mirror of
https://github.com/proski/madwifi
synced 2024-11-22 14:31:22 +03:00
5702465321
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3978 0192ed92-7a03-0410-a25b-9323aeb14dbd
36 lines
729 B
Makefile
36 lines
729 B
Makefile
#
|
|
# Makefile for the Minstrel rate control algorithm.
|
|
#
|
|
# $Id: //depot/sw/linuxsrc/src/802_11/madwifi/madwifi/ath_rate/minstrel/Makefile.kernel#1 $
|
|
#
|
|
|
|
src ?= .
|
|
srctree ?= .
|
|
|
|
TOP = $(srctree)/$(src)/../..
|
|
|
|
include $(TOP)/BuildCaps.inc
|
|
|
|
ATH= $(TOP)/ath
|
|
COMPAT= $(TOP)/include
|
|
HAL= $(TOP)/ath_hal
|
|
|
|
INCS = -include $(COMPAT)/compat.h -I$(COMPAT)
|
|
INCS += -I$(TOP) -I$(ATH) -I$(HAL)
|
|
EXTRA_CFLAGS += $(INCS) $(COPTS)
|
|
|
|
ifneq ($(VERSION).$(PATCHLEVEL),2.4)
|
|
obj-$(CONFIG_ATHEROS) += ath_rate_minstrel.o
|
|
ath_rate_minstrel-objs := minstrel.o
|
|
endif
|
|
|
|
ifeq ($(VERSION).$(PATCHLEVEL),2.4)
|
|
obj-$(CONFIG_ATHEROS) := minstrel.o
|
|
|
|
export-objs := minstrel.o
|
|
list-multi := ath_rate_minstrel.o
|
|
|
|
O_TARGET := ath_rate.o
|
|
include $(TOPDIR)/Rules.make
|
|
endif
|