浏览代码

qcacld-3.0: Kbuild: Define CONFIG_WLAN_LOGGING_SOCK_SVC

Currently the switch -DWLAN_LOGGING_SOCK_SVC_ENABLE is inferred by
examining a seemingly unrelated configuration option. In order to
clearly separate setting the configuration from applying the
configuration create a new CONFIG_WLAN_LOGGING_SOCK_SVC configuration
parameter.

Change-Id: Ic542512e3440453ef9f320297cf18f73f92fb2e3
CRs-Fixed: 2224810
Jeff Johnson 7 年之前
父节点
当前提交
ec273f3f2e
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      Kbuild

+ 5 - 5
Kbuild

@@ -545,6 +545,10 @@ CONFIG_FEATURE_WLAN_D0WOW := y
 endif
 endif
 
+ifneq ($(CONFIG_HIF_USB), y)
+CONFIG_WLAN_LOGGING_SOCK_SVC := y
+endif
+
 ############ UAPI ############
 UAPI_DIR :=	uapi
 UAPI_INC :=	-I$(WLAN_ROOT)/$(UAPI_DIR)/linux
@@ -1975,11 +1979,7 @@ ccflags-$(CONFIG_WIFI_POS_CONVERGED) += -DWIFI_POS_CONVERGED
 ccflags-$(CONFIG_WIFI_POS_LEGACY) += -DFEATURE_OEM_DATA_SUPPORT
 ccflags-$(CONFIG_FEATURE_HTC_CREDIT_HISTORY) += -DFEATURE_HTC_CREDIT_HISTORY
 ccflags-$(CONFIG_WLAN_FEATURE_P2P_DEBUG) += -DWLAN_FEATURE_P2P_DEBUG
-
-ifneq ($(CONFIG_HIF_USB), y)
-ccflags-y += -DWLAN_LOGGING_SOCK_SVC_ENABLE
-endif
-
+ccflags-$(CONFIG_WLAN_LOGGING_SOCK_SVC) += -DWLAN_LOGGING_SOCK_SVC_ENABLE
 ccflags-$(CONFIG_WLAN_FEATURE_FILS) += -DWLAN_FEATURE_FILS_SK
 
 ifeq ($(CONFIG_CNSS), y)