1# SPDX-License-Identifier: GPL-2.0
2#
3# Copyright (c) 2015-2016 Quantenna Communications, Inc.
4# All rights reserved.
5#
6
7ccflags-y += \
8	-Idrivers/net/wireless/quantenna/qtnfmac
9
10obj-$(CONFIG_QTNFMAC) += qtnfmac.o
11qtnfmac-objs += \
12	core.o \
13	commands.o \
14	trans.o \
15	cfg80211.o \
16	event.o \
17	util.o \
18	qlink_util.o
19
20#
21
22obj-$(CONFIG_QTNFMAC_PCIE) += qtnfmac_pcie.o
23
24qtnfmac_pcie-objs += \
25	shm_ipc.o \
26	pcie/pcie.o \
27	pcie/pearl_pcie.o \
28	pcie/topaz_pcie.o
29
30qtnfmac_pcie-$(CONFIG_DEBUG_FS) += debug.o
31