1# SPDX-License-Identifier: GPL-2.0-only 2 3ifeq ($(CONFIG_CNSS_OUT_OF_TREE),y) 4ccflags-y += -I$(WLAN_PLATFORM_ROOT)/cnss_utils 5ccflags-y += -I$(WLAN_PLATFORM_ROOT)/inc 6else 7ccflags-y += -I$(srctree)/drivers/net/wireless/cnss_utils 8endif 9 10ifeq ($(CONFIG_CNSS_HW_SECURE_DISABLE), y) 11ccflags-y += -I$(WLAN_PLATFORM_ROOT)/../../securemsm-kernel/smcinvoke/ 12ccflags-y += -I$(WLAN_PLATFORM_ROOT)/../../securemsm-kernel/linux/ 13ccflags-y += -I$(WLAN_PLATFORM_ROOT)/../../securemsm-kernel/include/linux/ 14ccflags-y += -I$(WLAN_PLATFORM_ROOT)/../../securemsm-kernel/include/uapi/linux/ 15endif 16 17obj-$(CONFIG_CNSS2) += cnss2.o 18 19cnss2-y := main.o 20cnss2-y += bus.o 21cnss2-y += debug.o 22cnss2-y += pci.o 23cnss2-y += power.o 24cnss2-y += genl.o 25cnss2-$(CONFIG_PCI_MSM) += pci_qcom.o 26cnss2-$(CONFIG_CNSS2_QMI) += qmi.o coexistence_service_v01.o 27