--- zzzz-none-000/linux-4.4.60/drivers/net/wireless/ath/wil6210/Makefile 2017-04-08 07:53:53.000000000 +0000 +++ wasp-540e-714/linux-4.4.60/drivers/net/wireless/ath/wil6210/Makefile 2019-07-03 09:21:34.000000000 +0000 @@ -4,7 +4,8 @@ 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 @@ -18,8 +19,16 @@ 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 # for tracing framework to find trace.h CFLAGS_trace.o := -I$(src) subdir-ccflags-y += -D__CHECK_ENDIAN__ + +# NSS Support +ifeq (y, $(CONFIG_WIL6210_NSS_SUPPORT)) +subdir-ccflags-y += -DCONFIG_WIL6210_NSS_SUPPORT +endif