|
@@ -1375,18 +1375,8 @@ ifeq ($(CONFIG_SLUB_DEBUG_ON),y)
|
|
|
CDEFINES += -DTIMER_MANAGER
|
|
|
CDEFINES += -DMEMORY_DEBUG
|
|
|
CDEFINES += -DWLAN_SUSPEND_RESUME_TEST
|
|
|
-CONFIG_LOCK_STATS_ON := y
|
|
|
endif
|
|
|
|
|
|
-ifeq ($(CONFIG_LOCK_STATS_ON),y)
|
|
|
-CDEFINES += -DQDF_LOCK_STATS=1
|
|
|
-CDEFINES += -DQDF_LOCK_STATS_DESTROY_PRINT=0
|
|
|
-CDEFINES += -DQDF_LOCK_STATS_BUG_ON=1
|
|
|
-CDEFINES += -DQDF_LOCK_STATS_LIST=1
|
|
|
-CDEFINES += -DQDF_LOCK_STATS_LIST_SIZE=256
|
|
|
-endif
|
|
|
-
|
|
|
-
|
|
|
ifeq ($(HAVE_CFG80211),1)
|
|
|
CDEFINES += -DWLAN_FEATURE_P2P
|
|
|
CDEFINES += -DWLAN_FEATURE_WFD
|
|
@@ -1809,7 +1799,6 @@ KBUILD_CPPFLAGS += $(CDEFINES)
|
|
|
# will override the kernel settings.
|
|
|
ifeq ($(call cc-option-yn, -Wmaybe-uninitialized),y)
|
|
|
EXTRA_CFLAGS += -Wmaybe-uninitialized
|
|
|
-
|
|
|
ifneq (y,$(CONFIG_ARCH_MSM))
|
|
|
EXTRA_CFLAGS += -Wframe-larger-than=4096
|
|
|
endif
|