sample: eliminate clever code to determine which proc file is accessed
[madwifi/.git] / ath_rate / minstrel / Makefile.kernel
index e33a28553b51af27c920c1bdd9da0c880299ae9a..a2ae2fecff11c407269a5459b419c36321cd284b 100644 (file)
@@ -10,28 +10,14 @@ 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
+HAL=   $(TOP)/ath_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\"
+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