Browse Source

qcacld-3.0: Kbuild: Cleanup FWLOG_OBJS logic

Currently FWLOG_OBJS are added to OBJS when
CONFIG_FEATURE_FW_LOG_PARSING is enabled.  An upcoming change requires
that assignments to OBJS be unconditional, so relocate the condition
to wrap the assignment of FWLOG_OBJS.

Change-Id: I6b09d9dfa2553943d3bb4370dc1977106a14a7d5
CRs-Fixed: 2868006
Jeff Johnson 4 years ago
parent
commit
88b2a47d79
1 changed files with 3 additions and 4 deletions
  1. 3 4
      Kbuild

+ 3 - 4
Kbuild

@@ -1680,7 +1680,9 @@ FWLOG_DIR := $(WLAN_COMMON_ROOT)/utils/fwlog
 
 FWLOG_INC := -I$(WLAN_ROOT)/$(FWLOG_DIR)
 
+ifeq ($(CONFIG_FEATURE_FW_LOG_PARSING), y)
 FWLOG_OBJS := $(FWLOG_DIR)/dbglog_host.o
+endif
 
 ############ TXRX ############
 TXRX_DIR :=     core/dp/txrx
@@ -2532,10 +2534,7 @@ ifeq ($(CONFIG_LITHIUM), y)
 OBJS += 	$(HAL_OBJS)
 endif
 
-ifeq ($(CONFIG_FEATURE_FW_LOG_PARSING), y)
-OBJS +=        $(FWLOG_OBJS)
-endif
-
+OBJS +=		$(FWLOG_OBJS)
 OBJS += 	$(EPPING_OBJS)
 OBJS +=		$(DFS_OBJS)
 OBJS +=		$(UMAC_OBJMGR_OBJS)