Makefile 1.05 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
obj-$(CONFIG_MAC80211) += mac80211.o
3

4 5
# mac80211 objects
mac80211-y := \
6
	main.o status.o \
7
	driver-ops.o \
8 9
	sta_info.o \
	wep.o \
10
	aead_api.o \
11
	wpa.o \
12
	scan.o offchannel.o \
13
	ht.o agg-tx.o agg-rx.o \
14
	vht.o \
Luca Coelho's avatar
Luca Coelho committed
15
	he.o \
16
	ibss.o \
Johannes Berg's avatar
Johannes Berg committed
17 18
	iface.o \
	rate.o \
19 20
	michael.o \
	tkip.o \
21
	aes_cmac.o \
22
	aes_gmac.o \
23
	fils_aead.o \
24
	cfg.o \
25
	ethtool.o \
26
	rx.o \
27
	spectmgmt.o \
28
	tx.o \
29
	key.o \
Johannes Berg's avatar
Johannes Berg committed
30
	util.o \
31
	wme.o \
32
	chan.o \
33
	trace.o mlme.o \
34 35
	tdls.o \
	ocb.o
36

Johannes Berg's avatar
Johannes Berg committed
37
mac80211-$(CONFIG_MAC80211_LEDS) += led.o
38 39 40 41 42 43
mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
	debugfs.o \
	debugfs_sta.o \
	debugfs_netdev.o \
	debugfs_key.o

44 45 46 47
mac80211-$(CONFIG_MAC80211_MESH) += \
	mesh.o \
	mesh_pathtbl.o \
	mesh_plink.o \
48
	mesh_hwmp.o \
49 50
	mesh_sync.o \
	mesh_ps.o
51

52 53
mac80211-$(CONFIG_PM) += pm.o

54
CFLAGS_trace.o := -I$(src)
55

56 57 58
rc80211_minstrel-y := \
	rc80211_minstrel.o \
	rc80211_minstrel_ht.o
59

60 61 62
rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += \
	rc80211_minstrel_debugfs.o \
	rc80211_minstrel_ht_debugfs.o
63

64
mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
65

66
ccflags-y += -DDEBUG