Merge branches 'release' and 'gpe-ack' into release
[linux-2.6] / 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         regdomain.o \
23         tkip.o \
24         aes_ccm.o \
25         cfg.o \
26         rx.o \
27         tx.o \
28         key.o \
29         util.o \
30         event.o
31
32 mac80211-$(CONFIG_MAC80211_LEDS) += ieee80211_led.o
33 mac80211-$(CONFIG_NET_SCHED) += wme.o
34 mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
35         debugfs.o \
36         debugfs_sta.o \
37         debugfs_netdev.o \
38         debugfs_key.o
39
40
41 # Build rate control algorithm(s)
42 CFLAGS_rc80211_simple.o += -DRC80211_SIMPLE_COMPILE
43 CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE
44 mac80211-$(CONFIG_MAC80211_RC_SIMPLE) += rc80211_simple.o
45 mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID))
46
47 # Modular rate algorithms are assigned to mac80211-m - make separate modules
48 obj-m += $(mac80211-m)