Selaa lähdekoodia

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 4 vuotta sitten
vanhempi
sitoutus
275c200717
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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)