qcacld-3.0: Add WALT_GET_CPU_TAKEN_SUPPORT flag
set WALT_GET_CPU_TAKEN_SUPPORT if walt_get_cpus_taken is present to avoid issue on target where changes are not present in kernel branch. Change-Id: I550291b5fb2dc38b6a26eaece3fbe3ede5604a7d CRs-Fixed: 3559245
This commit is contained in:
parent
6e093a5d89
commit
af94327676
4
Kbuild
4
Kbuild
@ -4757,6 +4757,10 @@ ccflags-$(CONFIG_WINDOW_REG_PLD_LOCK_ENABLE) += -DWINDOW_REG_PLD_LOCK_ENABLE
|
||||
ccflags-$(CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR) += -DDUMP_REO_QUEUE_INFO_IN_DDR
|
||||
ccflags-$(CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK) += -DDP_RX_REFILL_CPU_PERF_AFFINE_MASK
|
||||
ccflags-$(CONFIG_WLAN_FEATURE_AFFINITY_MGR) += -DWLAN_FEATURE_AFFINITY_MGR
|
||||
found = $(shell if grep -qF "walt_get_cpus_taken" $(srctree)/kernel/sched/walt/walt.c; then echo "yes" ;else echo "no" ;fi;)
|
||||
ifeq ($(findstring yes, $(found)), yes)
|
||||
ccflags-y += -DWALT_GET_CPU_TAKEN_SUPPORT
|
||||
endif
|
||||
|
||||
ifdef CONFIG_MAX_CLIENTS_ALLOWED
|
||||
ccflags-y += -DWLAN_MAX_CLIENTS_ALLOWED=$(CONFIG_MAX_CLIENTS_ALLOWED)
|
||||
|
Loading…
Reference in New Issue
Block a user