xref: /linux/drivers/net/wireless/silabs/wfx/Makefile (revision e7d759f31ca295d589f7420719c311870bb3166f)
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