From 275c200717dd55223726cc7ab2b0c3b4f47bf9a2 Mon Sep 17 00:00:00 2001 From: Chaoli Zhou Date: Wed, 1 Jul 2020 19:28:21 +0800 Subject: [PATCH] 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 --- Kbuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kbuild b/Kbuild index 541e648a799e..27580de629c3 100644 --- a/Kbuild +++ b/Kbuild @@ -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)