xref: /wlan-driver/platform/icnss2/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 Nameobj-$(CONFIG_ICNSS2) += icnss2.o
11*5113495bSYour Name
12*5113495bSYour Nameicnss2-y := main.o
13*5113495bSYour Nameicnss2-y += debug.o
14*5113495bSYour Nameicnss2-y += power.o
15*5113495bSYour Nameicnss2-y += genl.o
16*5113495bSYour Nameicnss2-$(CONFIG_ICNSS2_QMI) += qmi.o
17