mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Kbuild: Define CONFIG_FEATURE_SKB_PRE_ALLOC
Currently the switch -DFEATURE_SKB_PRE_ALLOC is inferred by examining three different configuration options. In order to clearly separate setting the configuration from applying the configuration create a new CONFIG_FEATURE_SKB_PRE_ALLOC configuration parameter. Change-Id: I301031a03fdae394748cf4cb6259044324eec6f1 CRs-Fixed: 2222914
This commit is contained in:
parent
15e2d83d23
commit
81132daa02
1 changed files with 9 additions and 7 deletions
16
Kbuild
16
Kbuild
|
|
@ -394,6 +394,14 @@ CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
|
|||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SDX20), y)
|
||||
ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
|
||||
ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y)
|
||||
CONFIG_FEATURE_SKB_PRE_ALLOC := y
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
#Enable Signed firmware support for split binary format
|
||||
CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := n
|
||||
|
||||
|
|
@ -2202,13 +2210,7 @@ endif
|
|||
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SDX20), y)
|
||||
ifeq ($(CONFIG_QCA_WIFI_SDIO), y)
|
||||
ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y)
|
||||
CDEFINES += -DFEATURE_SKB_PRE_ALLOC
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ccflags-$(CONFIG_FEATURE_SKB_PRE_ALLOC) += -DFEATURE_SKB_PRE_ALLOC
|
||||
|
||||
#Enable USB specific APIS
|
||||
ifeq ($(CONFIG_HIF_USB), y)
|
||||
|
|
|
|||
Loading…
Reference in a new issue