diff --git a/Kbuild b/Kbuild index 541e648a799ea..27580de629c36 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)