Makefile 521 B

12345678910111213141516171819
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. ifeq ($(CONFIG_CNSS_OUT_OF_TREE),y)
  3. ccflags-y += -I$(WLAN_PLATFORM_ROOT)/cnss_utils
  4. ccflags-y += -I$(WLAN_PLATFORM_ROOT)/inc
  5. else
  6. ccflags-y += -I$(srctree)/drivers/net/wireless/cnss_utils
  7. endif
  8. obj-$(CONFIG_CNSS2) += cnss2.o
  9. cnss2-y := main.o
  10. cnss2-y += bus.o
  11. cnss2-y += debug.o
  12. cnss2-y += pci.o
  13. cnss2-y += power.o
  14. cnss2-y += genl.o
  15. cnss2-$(CONFIG_PCI_MSM) += pci_qcom.o
  16. cnss2-$(CONFIG_CNSS2_QMI) += qmi.o coexistence_service_v01.o ip_multimedia_subsystem_private_service_v01.o