qcacld-3.0: Fix compile error if disable CONFIG_WDI_EVENT_ENABLE

Do not compile ol_txrx_event.c if set CONFIG_REMOVE_PKT_LOG=y
and CONFIG_WDI_EVENT_ENABLE=n with Hasting

Change-Id: I475e1d4bda818cdef66d961cb95d0193b27029f6
This commit is contained in:
Chaoli Zhou 2020-07-01 19:28:21 +08:00 committed by nshrivas
parent 299a322de1
commit 275c200717

2
Kbuild
View File

@ -2367,8 +2367,10 @@ endif
ifeq ($(CONFIG_LITHIUM), y)
OBJS += $(HAL_OBJS)
ifeq ($(CONFIG_WDI_EVENT_ENABLE), y)
OBJS += $(TXRX_DIR)/ol_txrx_event.o
endif
endif
ifeq ($(CONFIG_FEATURE_FW_LOG_PARSING), y)
OBJS += $(FWLOG_OBJS)