madwifi/ath/Makefile.kernel
Pavel Roskin 8c73cc55b1 Remove support for Linux kernels older than 2.6.13
Linux 2.6.13 introduced Wireless Extension 18 with WPA support.  It was
released in August 2005.  People making changes to MadWifi should not be
required to be software archeologistists to test their changes.
2013-11-12 11:46:06 -05:00

38 lines
734 B
Makefile

#
# Makefile for the Atheros WLAN driver.
#
obj ?= .
src ?= .
srctree ?= .
TOP = $(srctree)/$(src)/..
include $(TOP)/BuildCaps.inc
HAL= $(TOP)/ath_hal
WLAN= $(TOP)/net80211
COMPAT= $(TOP)/include
#
# Select bus-specific code. Note that this defaults to PCI.
#
ifeq ($(strip $(BUS)),AHB)
BUSNAME=ahb
EXTRA_CFLAGS+= -DATH_AHB
else
BUSNAME=pci
EXTRA_CFLAGS+= -DATH_PCI
endif
# These flags select which radar signatures DFS will match
COPTS += -DDFS_DOMAIN_ETSI -DDFS_DOMAIN_FCC
INCS = -include $(COMPAT)/compat.h -I$(COMPAT)
INCS += -I$(TOP) -I$(HAL) -I$(WLAN)
EXTRA_CFLAGS += $(INCS) $(COPTS)
obj-$(CONFIG_ATHEROS) += ath_$(BUSNAME).o
ath_$(BUSNAME)-objs := if_ath.o if_ath_radar.o if_ath_hal_extensions.o if_ath_$(BUSNAME).o