2 # Makefile for the Minstrel rate control algorithm.
4 # $Id: //depot/sw/linuxsrc/src/802_11/madwifi/madwifi/ath_rate/minstrel/Makefile.kernel#1 $
10 TOP
= $(srctree
)/$(src
)/..
/..
12 include $(TOP
)/BuildCaps.inc
13 include $(TOP
)/ath_hal
/ah_target.inc
16 ATH_HAL
=$(TOP
)/ath_hal
17 COMPAT
= $(TOP
)/include
20 INCS
= -include $(COMPAT
)/compat.h
-I
$(COMPAT
)
21 INCS
+= -I
$(TOP
) -I
$(ATH
) -I
$(ATH_HAL
) -I
$(HAL
)
22 EXTRA_CFLAGS
+= $(INCS
) $(COPTS
) -DOPT_AH_H
=\"public
/$(TARGET
).opt_ah.h
\"
24 ifneq ($(VERSION
).
$(PATCHLEVEL
),2.4)
25 obj-
$(CONFIG_ATHEROS
) += ath_rate_minstrel.o
26 ath_rate_minstrel-objs
:= minstrel.o
29 ifeq ($(VERSION
).
$(PATCHLEVEL
),2.4)
30 obj-
$(CONFIG_ATHEROS
) := minstrel.o
32 export-objs
:= minstrel.o
33 list-multi
:= ath_rate_minstrel.o
35 O_TARGET
:= ath_rate.o
36 include $(TOPDIR
)/Rules.make