浏览代码

qcacld-3.0: Conditionally enable WEXT support

Currently CONFIG_WLAN_WEXT_SUPPORT_ENABLE is unconditionally enabled
in many defconfigs, including the default defconfig, but this leads to
build failures when WEXT is not configured in the Kernel. So update
the defconfigs to enable CONFIG_WLAN_WEXT_SUPPORT_ENABLE only when
CONFIG_WIRELESS_EXT is enabled in the Kernel.

Change-Id: Iecfd4e899c2b09c489547dd1a8ff70f71983853f
CRs-Fixed: 2620792
Jeff Johnson 5 年之前
父节点
当前提交
b74a841d1c
共有 4 个文件被更改,包括 8 次插入0 次删除
  1. 2 0
      configs/default_defconfig
  2. 2 0
      configs/genoa.common
  3. 2 0
      configs/qca6174_defconfig
  4. 2 0
      configs/qca6390_defconfig

+ 2 - 0
configs/default_defconfig

@@ -780,7 +780,9 @@ CONFIG_FEATURE_ROAM_DEBUG := y
 CONFIG_WLAN_DFS_MASTER_ENABLE := y
 
 #Flag to enable WEXT support for STA/AP/P2P interfaces
+ifeq ($(CONFIG_WIRELESS_EXT), y)
 CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
+endif
 
 #Flag to enable/disable MTRACE feature
 CONFIG_ENABLE_MTRACE_LOG := y

+ 2 - 0
configs/genoa.common

@@ -50,7 +50,9 @@ CONFIG_QCACLD_FEATURE_METERING := n
 CONFIG_WLAN_DYNAMIC_CVM := n
 
 #We might need to disable WEXT support in perf builds in future
+ifeq ($(CONFIG_WIRELESS_EXT), y)
 CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
+endif
 CONFIG_HOST_11D_SCAN := y
 
 #Flag to enable/disable Avoid acs freq feature

+ 2 - 0
configs/qca6174_defconfig

@@ -564,7 +564,9 @@ CONFIG_FEATURE_ROAM_DEBUG := y
 CONFIG_WLAN_DFS_MASTER_ENABLE := y
 
 #Flag to enable WEXT support for STA/AP/P2P interfaces
+ifeq ($(CONFIG_WIRELESS_EXT), y)
 CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
+endif
 
 #Flag to enable/disable MTRACE feature
 CONFIG_ENABLE_MTRACE_LOG := y

+ 2 - 0
configs/qca6390_defconfig

@@ -596,7 +596,9 @@ CONFIG_FEATURE_ROAM_DEBUG := y
 CONFIG_WLAN_DFS_MASTER_ENABLE := y
 
 #Flag to enable WEXT support for STA/AP/P2P interfaces
+ifeq ($(CONFIG_WIRELESS_EXT), y)
 CONFIG_WLAN_WEXT_SUPPORT_ENABLE := y
+endif
 
 #Flag to enable/disable MTRACE feature
 CONFIG_ENABLE_MTRACE_LOG := y