Makefile 1008 字节
Newer Older
1
obj-$(CONFIG_MAC80211) += mac80211.o
2

3 4 5
# objects for PID algorithm
rc80211_pid-y := rc80211_pid_algo.o
rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
M
Mattias Nissler 已提交
6

7 8 9
# build helper for PID algorithm
rc-pid-y := $(rc80211_pid-y)
rc-pid-m := rc80211_pid.o
10

11 12
# mac80211 objects
mac80211-y := \
J
Johannes Berg 已提交
13 14
	main.o \
	wext.o \
15 16 17
	sta_info.o \
	wep.o \
	wpa.o \
J
Johannes Berg 已提交
18 19 20
	mlme.o \
	iface.o \
	rate.o \
21 22 23
	michael.o \
	tkip.o \
	aes_ccm.o \
24
	cfg.o \
25
	rx.o \
26
	tx.o \
27
	key.o \
J
Johannes Berg 已提交
28
	util.o \
29 30
	event.o

J
Johannes Berg 已提交
31
mac80211-$(CONFIG_MAC80211_LEDS) += led.o
32 33 34 35 36 37 38
mac80211-$(CONFIG_NET_SCHED) += wme.o
mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
	debugfs.o \
	debugfs_sta.o \
	debugfs_netdev.o \
	debugfs_key.o

J
Johannes Berg 已提交
39 40 41 42 43 44
mac80211-$(CONFIG_MAC80211_MESH) += \
	mesh.o \
	mesh_pathtbl.o \
	mesh_plink.o \
	mesh_hwmp.o

45 46 47 48 49 50 51

# Build rate control algorithm(s)
CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE
mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID))

# Modular rate algorithms are assigned to mac80211-m - make separate modules
obj-m += $(mac80211-m)