Makefile 895 B

12345678910111213141516171819202122232425262728293031
  1. obj-$(CONFIG_MT76_CORE) += mt76.o
  2. obj-$(CONFIG_MT76_USB) += mt76-usb.o
  3. obj-$(CONFIG_MT76x0U) += mt76x0/
  4. obj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o
  5. obj-$(CONFIG_MT76x2E) += mt76x2e.o
  6. obj-$(CONFIG_MT76x2U) += mt76x2u.o
  7. mt76-y := \
  8. mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o
  9. mt76-usb-y := usb.o usb_trace.o usb_mcu.o
  10. CFLAGS_trace.o := -I$(src)
  11. CFLAGS_usb_trace.o := -I$(src)
  12. mt76x2-common-y := \
  13. mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \
  14. mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \
  15. mt76x2_debugfs.o
  16. mt76x2e-y := \
  17. mt76x2_pci.o mt76x2_dma.o \
  18. mt76x2_main.o mt76x2_init.o mt76x2_tx.o \
  19. mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \
  20. mt76x2_dfs.o mt76x2_trace.o
  21. mt76x2u-y := \
  22. mt76x2_usb.o mt76x2u_init.o mt76x2u_main.o mt76x2u_mac.o \
  23. mt76x2u_mcu.o mt76x2u_phy.o mt76x2u_core.o
  24. CFLAGS_mt76x2_trace.o := -I$(src)