summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/st/cw1200/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/st/cw1200/Makefile')
-rw-r--r--drivers/net/wireless/st/cw1200/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/net/wireless/st/cw1200/Makefile b/drivers/net/wireless/st/cw1200/Makefile
new file mode 100644
index 000000000..386a484e0
--- /dev/null
+++ b/drivers/net/wireless/st/cw1200/Makefile
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0
+cw1200_core-y := \
+ fwio.o \
+ txrx.o \
+ main.o \
+ queue.o \
+ hwio.o \
+ bh.o \
+ wsm.o \
+ sta.o \
+ scan.o \
+ debug.o
+cw1200_core-$(CONFIG_PM) += pm.o
+
+# CFLAGS_sta.o += -DDEBUG
+
+cw1200_wlan_sdio-y := cw1200_sdio.o
+cw1200_wlan_spi-y := cw1200_spi.o
+
+obj-$(CONFIG_CW1200) += cw1200_core.o
+obj-$(CONFIG_CW1200_WLAN_SDIO) += cw1200_wlan_sdio.o
+obj-$(CONFIG_CW1200_WLAN_SPI) += cw1200_wlan_spi.o