qcacld-3.0: Fix Kbuild to enable WLAN debugfs support
Currently, the CONFIG_WLAN_POWER_DEBUGFS and CONFIG_WLAN_DEBUGFS are not enabled for statically loaded driver. This results in missing subsystem power stats. The reason for that is the enabling of this macro is conditionally done under KERNEL_BUILD=0. This commit enables the macro to be also conditionally done under all values of KERNEL_BUILD Change-Id: I2824fdbb438b37ee58a95a6ea889be5e7691bef5 CRs-Fixed: 2033114
This commit is contained in:
parent
eb2933233e
commit
fd6d164471
16
Kbuild
16
Kbuild
@ -86,11 +86,6 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
#Flag to enable Legacy Fast Roaming3(LFR3)
|
#Flag to enable Legacy Fast Roaming3(LFR3)
|
||||||
CONFIG_QCACLD_WLAN_LFR3 := y
|
CONFIG_QCACLD_WLAN_LFR3 := y
|
||||||
|
|
||||||
#Enable Power debugfs feature only if debug_fs is enabled
|
|
||||||
ifeq ($(CONFIG_DEBUG_FS), y)
|
|
||||||
CONFIG_WLAN_POWER_DEBUGFS := y
|
|
||||||
endif
|
|
||||||
|
|
||||||
# JB kernel has CPU enablement patches, so enable
|
# JB kernel has CPU enablement patches, so enable
|
||||||
ifeq ($(CONFIG_ROME_IF),pci)
|
ifeq ($(CONFIG_ROME_IF),pci)
|
||||||
CONFIG_PRIMA_WLAN_11AC_HIGH_TP := y
|
CONFIG_PRIMA_WLAN_11AC_HIGH_TP := y
|
||||||
@ -225,12 +220,15 @@ endif
|
|||||||
# Flag to enable MCC to SCC switch feature
|
# Flag to enable MCC to SCC switch feature
|
||||||
CONFIG_MCC_TO_SCC_SWITCH := y
|
CONFIG_MCC_TO_SCC_SWITCH := y
|
||||||
|
|
||||||
ifeq ($(CONFIG_DEBUG_FS), y)
|
|
||||||
# Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel
|
|
||||||
# configuration.
|
|
||||||
CONFIG_WLAN_DEBUGFS := y
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#Enable WLAN/Power debugfs feature only if debug_fs is enabled
|
||||||
|
ifeq ($(CONFIG_DEBUG_FS), y)
|
||||||
|
# Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel
|
||||||
|
# configuration.
|
||||||
|
CONFIG_WLAN_DEBUGFS := y
|
||||||
|
|
||||||
|
CONFIG_WLAN_POWER_DEBUGFS := y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If not set, assume, Common driver is with in the build tree
|
# If not set, assume, Common driver is with in the build tree
|
||||||
|
Loading…
Reference in New Issue
Block a user