Fix typo
[openwrt/svn-archive/archive.git] / package / mac80211 / src / net / mac80211 / Makefile
1 obj-$(CONFIG_MAC80211) += mac80211.o
2
3 # objects for PID algorithm
4 rc80211_pid-y := rc80211_pid_algo.o
5 rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
6
7 # build helper for PID algorithm
8 rc-pid-y := $(rc80211_pid-y)
9 rc-pid-m := rc80211_pid.o
10
11 # mac80211 objects
12 mac80211-y := \
13 ieee80211.o \
14 ieee80211_ioctl.o \
15 sta_info.o \
16 wep.o \
17 wpa.o \
18 ieee80211_sta.o \
19 ieee80211_iface.o \
20 ieee80211_rate.o \
21 michael.o \
22 tkip.o \
23 aes_ccm.o \
24 cfg.o \
25 rx.o \
26 tx.o \
27 key.o \
28 util.o \
29 event.o
30
31 mac80211-$(CONFIG_MAC80211_LEDS) += ieee80211_led.o
32 mac80211-$(CONFIG_NET_SCHED) += wme.o
33 mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
34 debugfs.o \
35 debugfs_sta.o \
36 debugfs_netdev.o \
37 debugfs_key.o
38
39
40 # Build rate control algorithm(s)
41 CFLAGS_rc80211_simple.o += -DRC80211_SIMPLE_COMPILE
42 CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE
43 mac80211-$(CONFIG_MAC80211_RC_SIMPLE) += rc80211_simple.o
44 mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID))
45
46 # Modular rate algorithms are assigned to mac80211-m - make separate modules
47 obj-m += $(mac80211-m)