mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Kbuild: Cleanly featurize legacy WiFi positioning
Define a separate configuration option for legacy WiFi positioning and use that option to set the associated ccflags macro. Change-Id: I43cc04b3730687bf6298c66af7c42a9d6d9db80c CRs-Fixed: 2224809
This commit is contained in:
parent
772fdfa966
commit
e16768476a
1 changed files with 5 additions and 10 deletions
15
Kbuild
15
Kbuild
|
|
@ -485,6 +485,9 @@ CONFIG_WLAN_FEATURE_P2P_DEBUG := y
|
|||
CONFIG_WLAN_NUD_TRACKING := y
|
||||
|
||||
CONFIG_WIFI_POS_CONVERGED := y
|
||||
ifneq ($(CONFIG_WIFI_POS_CONVERGED), y)
|
||||
CONFIG_WIFI_POS_LEGACY := y
|
||||
endif
|
||||
|
||||
CONFIG_CP_STATS := y
|
||||
|
||||
|
|
@ -1968,16 +1971,8 @@ ccflags-$(CONFIG_WLAN_SPECTRAL_ENABLE) += -DWLAN_SPECTRAL_ENABLE
|
|||
ccflags-$(CONFIG_WMI_CMD_STRINGS) += -DWMI_CMD_STRINGS
|
||||
|
||||
ccflags-$(CONFIG_WLAN_DISABLE_EXPORT_SYMBOL) += -DWLAN_DISABLE_EXPORT_SYMBOL
|
||||
|
||||
############ WIFI POS ##############
|
||||
ifeq ($(CONFIG_WIFI_POS_CONVERGED), y)
|
||||
ccflags-y += -DWIFI_POS_CONVERGED
|
||||
else
|
||||
ccflags-y += -DFEATURE_OEM_DATA_SUPPORT
|
||||
endif
|
||||
####################################
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue