mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Fix conditional logic checking in Kbuild
In msm-4.4 kernel, CONFIG_ARCH_MSM is replaced by CONFIG_ARCH_QCOM, hence add it to the list so that MSM_PLATFORM can be correctly enabled for the driver. Also filter function works in a exclusive way that will causes problem when several flags are defined at the same time. Fix it so that multiple flags can be defined. Change-Id: Ic5445951516c8d2cd79a71aefebd42b3f178c727 CRs-fixed: 1005069
This commit is contained in:
parent
1e382ffa9b
commit
df224b8fb8
1 changed files with 2 additions and 6 deletions
8
Kbuild
8
Kbuild
|
|
@ -98,7 +98,7 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||
CONFIG_QCOM_VOWIFI_11R := y
|
||||
|
||||
ifneq ($(CONFIG_QCA_CLD_WLAN),)
|
||||
ifeq (y,$(filter y,$(CONFIG_CNSS) $(CONFIG_ICNSS)))
|
||||
ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_ICNSS)))
|
||||
#Flag to enable Protected Managment Frames (11w) feature
|
||||
CONFIG_WLAN_FEATURE_11W := y
|
||||
#Flag to enable LTE CoEx feature
|
||||
|
|
@ -985,11 +985,7 @@ ifeq ($(CONFIG_FEATURE_BMI_2), y)
|
|||
CDEFINES += -DFEATURE_BMI_2
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_MSM), y)
|
||||
CDEFINES += -DMSM_PLATFORM
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_MSMCOBALT), y)
|
||||
ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM)))
|
||||
CDEFINES += -DMSM_PLATFORM
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue