|
@@ -2251,7 +2251,7 @@ cppflags-y += -DCONFIG_SERIALIZATION_V1
|
|
|
ccflags-$(CONFIG_ENABLE_SIZE_OPTIMIZE) += -Os
|
|
|
|
|
|
# DFS component
|
|
|
-cppflags-y += -DWLAN_DFS_STATIC_MEM_ALLOC
|
|
|
+cppflags-$(CONFIG_WLAN_DFS_STATIC_MEM_ALLOC) += -DWLAN_DFS_STATIC_MEM_ALLOC
|
|
|
cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DQCA_MCL_DFS_SUPPORT
|
|
|
ifeq ($(CONFIG_WLAN_FEATURE_DFS_OFFLOAD), y)
|
|
|
cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DWLAN_DFS_FULL_OFFLOAD
|