xref: /wlan-driver/platform/cnss2/Makefile (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name# SPDX-License-Identifier: GPL-2.0-only
2*5113495bSYour Name
3*5113495bSYour Nameifeq ($(CONFIG_CNSS_OUT_OF_TREE),y)
4*5113495bSYour Nameccflags-y += -I$(WLAN_PLATFORM_ROOT)/cnss_utils
5*5113495bSYour Nameccflags-y += -I$(WLAN_PLATFORM_ROOT)/inc
6*5113495bSYour Nameelse
7*5113495bSYour Nameccflags-y += -I$(srctree)/drivers/net/wireless/cnss_utils
8*5113495bSYour Nameendif
9*5113495bSYour Name
10*5113495bSYour Nameifeq ($(CONFIG_CNSS_HW_SECURE_DISABLE), y)
11*5113495bSYour Nameccflags-y += -I$(WLAN_PLATFORM_ROOT)/../../securemsm-kernel/smcinvoke/
12*5113495bSYour Nameccflags-y += -I$(WLAN_PLATFORM_ROOT)/../../securemsm-kernel/linux/
13*5113495bSYour Nameccflags-y += -I$(WLAN_PLATFORM_ROOT)/../../securemsm-kernel/include/linux/
14*5113495bSYour Nameccflags-y += -I$(WLAN_PLATFORM_ROOT)/../../securemsm-kernel/include/uapi/linux/
15*5113495bSYour Nameendif
16*5113495bSYour Name
17*5113495bSYour Nameobj-$(CONFIG_CNSS2) += cnss2.o
18*5113495bSYour Name
19*5113495bSYour Namecnss2-y := main.o
20*5113495bSYour Namecnss2-y += bus.o
21*5113495bSYour Namecnss2-y += debug.o
22*5113495bSYour Namecnss2-y += pci.o
23*5113495bSYour Namecnss2-y += power.o
24*5113495bSYour Namecnss2-y += genl.o
25*5113495bSYour Namecnss2-$(CONFIG_PCI_MSM) += pci_qcom.o
26*5113495bSYour Namecnss2-$(CONFIG_CNSS2_QMI) += qmi.o coexistence_service_v01.o
27