--- zzzz-none-000/linux-4.4.271/drivers/net/wireless/ath/wil6210/Makefile 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/drivers/net/wireless/ath/wil6210/Makefile 2023-01-11 09:25:42.000000000 +0000 @@ -4,10 +4,12 @@ wil6210-y += netdev.o wil6210-y += cfg80211.o wil6210-y += pcie_bus.o -wil6210-y += debugfs.o +wil6210-$(CONFIG_WIL6210_DEBUGFS) += debugfs.o +wil6210-y += sysfs.o wil6210-y += wmi.o wil6210-y += interrupt.o wil6210-y += txrx.o +wil6210-y += txrx_edma.o wil6210-y += debug.o wil6210-y += rx_reorder.o wil6210-y += ioctl.o @@ -18,8 +20,19 @@ wil6210-y += wil_platform.o wil6210-y += ethtool.o wil6210-y += wil_crash_dump.o +wil6210-y += p2p.o +wil6210-y += wil_platform_ipq.o +wil6210-y += ftm.o +wil6210-y += umac.o +wil6210-y += config.o # for tracing framework to find trace.h CFLAGS_trace.o := -I$(src) subdir-ccflags-y += -D__CHECK_ENDIAN__ +subdir-ccflags-y += -Werror + +# NSS Support +ifeq (y, $(CONFIG_WIL6210_NSS_SUPPORT)) +subdir-ccflags-y += -DCONFIG_WIL6210_NSS_SUPPORT +endif