Ver Fonte

qcacld-3.0: Kbuild: Add dp_txrx_wds.o to DP_OBJS

Add following build config options to enable WDS support.
* CONFIG_FEATURE_WDS
* CONFIG_FEATURE_MEC
* CONFIG_FEATURE_MCL_REPEATER

CRs-Fixed: 2894217
Change-Id: I3a97063be6317cbd4d65e0292deaef4116dbd433
Subrat Dash há 4 anos atrás
pai
commit
5f7fb344cc
1 ficheiros alterados com 9 adições e 0 exclusões
  1. 9 0
      Kbuild

+ 9 - 0
Kbuild

@@ -1941,6 +1941,10 @@ ifeq ($(CONFIG_WDI_EVENT_ENABLE), y)
 DP_OBJS +=     $(DP_SRC)/dp_wdi_event.o
 endif
 
+ifeq ($(CONFIG_FEATURE_MEC), y)
+DP_OBJS += $(DP_SRC)/dp_txrx_wds.o
+endif
+
 endif #LITHIUM
 
 $(call add-wlan-objs,dp,$(DP_OBJS))
@@ -3870,6 +3874,11 @@ cppflags-y += -DDETECTION_LATENCY_THRESHOLD=1900
 endif
 endif
 
+#Flags to enable/disable WDS specific features
+cppflags-$(CONFIG_FEATURE_WDS) += -DFEATURE_WDS
+cppflags-$(CONFIG_FEATURE_MEC) += -DFEATURE_MEC
+cppflags-$(CONFIG_FEATURE_MCL_REPEATER) += -DFEATURE_MCL_REPEATER
+
 KBUILD_CPPFLAGS += $(cppflags-y)
 
 # Currently, for versions of gcc which support it, the kernel Makefile