diff options
Diffstat (limited to 'net/mac80211/Makefile')
-rw-r--r-- | net/mac80211/Makefile | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/net/mac80211/Makefile b/net/mac80211/Makefile index 06aea8009cd4..54f46bc80cfe 100644 --- a/net/mac80211/Makefile +++ b/net/mac80211/Makefile | |||
@@ -1,19 +1,15 @@ | |||
1 | obj-$(CONFIG_MAC80211) += mac80211.o | 1 | obj-$(CONFIG_MAC80211) += mac80211.o |
2 | 2 | ||
3 | mac80211-objs-$(CONFIG_MAC80211_LEDS) += ieee80211_led.o | 3 | # objects for PID algorithm |
4 | mac80211-objs-$(CONFIG_NET_SCHED) += wme.o | 4 | rc80211_pid-y := rc80211_pid_algo.o |
5 | mac80211-objs-$(CONFIG_MAC80211_RC_SIMPLE) += rc80211_simple.o | 5 | rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o |
6 | mac80211-objs-$(CONFIG_MAC80211_RC_PID) += rc80211_pid_algo.o | ||
7 | 6 | ||
8 | mac80211-debugfs-objs-$(CONFIG_MAC80211_RC_PID) += rc80211_pid_debugfs.o | 7 | # build helper for PID algorithm |
9 | mac80211-objs-$(CONFIG_MAC80211_DEBUGFS) += \ | 8 | rc-pid-y := $(rc80211_pid-y) |
10 | debugfs.o \ | 9 | rc-pid-m := rc80211_pid.o |
11 | debugfs_sta.o \ | ||
12 | debugfs_netdev.o \ | ||
13 | debugfs_key.o \ | ||
14 | $(mac80211-debugfs-objs-y) | ||
15 | 10 | ||
16 | mac80211-objs := \ | 11 | # mac80211 objects |
12 | mac80211-y := \ | ||
17 | ieee80211.o \ | 13 | ieee80211.o \ |
18 | ieee80211_ioctl.o \ | 14 | ieee80211_ioctl.o \ |
19 | sta_info.o \ | 15 | sta_info.o \ |
@@ -31,5 +27,22 @@ mac80211-objs := \ | |||
31 | tx.o \ | 27 | tx.o \ |
32 | key.o \ | 28 | key.o \ |
33 | util.o \ | 29 | util.o \ |
34 | event.o \ | 30 | event.o |
35 | $(mac80211-objs-y) | 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) | ||