Parcourir la source

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
Chaoli Zhou il y a 5 ans
Parent
commit
275c200717
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      Kbuild

+ 2 - 0
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)