Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # SPDX-License-Identifier: GPL-2.0
  2. obj-$(CONFIG_MAC80211) += mac80211.o
  3. # mac80211 objects
  4. mac80211-y := \
  5. main.o status.o \
  6. driver-ops.o \
  7. sta_info.o \
  8. wep.o \
  9. aead_api.o \
  10. wpa.o \
  11. scan.o offchannel.o \
  12. ht.o agg-tx.o agg-rx.o \
  13. vht.o \
  14. he.o \
  15. ibss.o \
  16. iface.o \
  17. rate.o \
  18. michael.o \
  19. tkip.o \
  20. aes_cmac.o \
  21. aes_gmac.o \
  22. fils_aead.o \
  23. cfg.o \
  24. ethtool.o \
  25. rx.o \
  26. spectmgmt.o \
  27. tx.o \
  28. key.o \
  29. util.o \
  30. wme.o \
  31. chan.o \
  32. trace.o mlme.o \
  33. tdls.o \
  34. ocb.o
  35. mac80211-$(CONFIG_MAC80211_LEDS) += led.o
  36. mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
  37. debugfs.o \
  38. debugfs_sta.o \
  39. debugfs_netdev.o \
  40. debugfs_key.o
  41. mac80211-$(CONFIG_MAC80211_MESH) += \
  42. mesh.o \
  43. mesh_pathtbl.o \
  44. mesh_plink.o \
  45. mesh_hwmp.o \
  46. mesh_sync.o \
  47. mesh_ps.o
  48. mac80211-$(CONFIG_PM) += pm.o
  49. CFLAGS_trace.o := -I$(src)
  50. rc80211_minstrel-y := rc80211_minstrel.o
  51. rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
  52. rc80211_minstrel_ht-y := rc80211_minstrel_ht.o
  53. rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
  54. mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
  55. mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
  56. ccflags-y += -DDEBUG