Makefile 1.08 KB
Newer Older
1
obj-$(CONFIG_MAC80211) += mac80211.o
2

3 4
# mac80211 objects
mac80211-y := \
Johannes Berg's avatar
Johannes Berg committed
5 6
	main.o \
	wext.o \
7 8 9
	sta_info.o \
	wep.o \
	wpa.o \
10
	scan.o \
Johannes Berg's avatar
Johannes Berg committed
11
	ht.o agg-tx.o agg-rx.o \
12
	ibss.o \
Johannes Berg's avatar
Johannes Berg committed
13 14 15
	mlme.o \
	iface.o \
	rate.o \
16 17 18
	michael.o \
	tkip.o \
	aes_ccm.o \
19
	aes_cmac.o \
20
	cfg.o \
21
	rx.o \
22
	spectmgmt.o \
23
	tx.o \
24
	key.o \
Johannes Berg's avatar
Johannes Berg committed
25
	util.o \
26
	wme.o \
27 28
	event.o

Johannes Berg's avatar
Johannes Berg committed
29
mac80211-$(CONFIG_MAC80211_LEDS) += led.o
30 31 32 33 34 35
mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
	debugfs.o \
	debugfs_sta.o \
	debugfs_netdev.o \
	debugfs_key.o

36 37 38 39 40 41
mac80211-$(CONFIG_MAC80211_MESH) += \
	mesh.o \
	mesh_pathtbl.o \
	mesh_plink.o \
	mesh_hwmp.o

42 43
mac80211-$(CONFIG_PM) += pm.o

44 45 46
mac80211-$(CONFIG_MAC80211_DRIVER_API_TRACER) += driver-trace.o
CFLAGS_driver-trace.o := -I$(src)

47 48 49
# objects for PID algorithm
rc80211_pid-y := rc80211_pid_algo.o
rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
50

51 52 53
rc80211_minstrel-y := rc80211_minstrel.o
rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o

54
mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y)
55
mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
56 57

ccflags-y += -D__CHECK_ENDIAN__