xref: /linux/drivers/net/wireless/silabs/wfx/Makefile (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1# SPDX-License-Identifier: GPL-2.0-only
2
3# Necessary for CREATE_TRACE_POINTS
4CFLAGS_debug.o = -I$(src)
5
6wfx-y := \
7	bh.o \
8	hwio.o \
9	fwio.o \
10	hif_tx_mib.o \
11	hif_tx.o \
12	hif_rx.o \
13	queue.o \
14	data_tx.o \
15	data_rx.o \
16	scan.o \
17	sta.o \
18	key.o \
19	main.o \
20	debug.o
21wfx-$(CONFIG_SPI) += bus_spi.o
22# When CONFIG_MMC == m, append to 'wfx-y' (and not to 'wfx-m')
23wfx-$(subst m,y,$(CONFIG_MMC)) += bus_sdio.o
24
25obj-$(CONFIG_WFX) += wfx.o
26