xref: /wlan-driver/platform/icnss2/Makefile (revision 5113495b16420b49004c444715d2daae2066e7dc)
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
10obj-$(CONFIG_ICNSS2) += icnss2.o
11
12icnss2-y := main.o
13icnss2-y += debug.o
14icnss2-y += power.o
15icnss2-y += genl.o
16icnss2-$(CONFIG_ICNSS2_QMI) += qmi.o
17