qcacld-3.0: Kbuild: Cleanup HTT_OBJS logic

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

Change-Id: Ifdce8f5ab6b4597156341620ae101ee8be2b4afd
CRs-Fixed: 2868008
This commit is contained in:
Jeff Johnson 2021-02-01 14:11:49 -08:00 committed by snandini
parent 34130a958f
commit 0f585d216f

5
Kbuild
View File

@ -1845,6 +1845,7 @@ endif
HTT_DIR := core/dp/htt
HTT_INC := -I$(WLAN_ROOT)/$(HTT_DIR)
ifneq ($(CONFIG_LITHIUM), y)
HTT_OBJS := $(HTT_DIR)/htt_tx.o \
$(HTT_DIR)/htt.o \
$(HTT_DIR)/htt_t2h.o \
@ -1863,6 +1864,7 @@ endif
ifeq ($(CONFIG_HL_DP_SUPPORT), y)
HTT_OBJS += $(HTT_DIR)/htt_rx_hl.o
endif
endif
############## INIT-DEINIT ###########
INIT_DEINIT_DIR := init_deinit/dispatcher
@ -2526,10 +2528,7 @@ OBJS += $(HIF_OBJS) \
$(CLD_TARGET_IF_OBJ) \
$(GLOBAL_LMAC_IF_OBJ)
ifneq ($(CONFIG_LITHIUM), y)
OBJS += $(HTT_OBJS)
endif
OBJS += $(HAL_OBJS)
OBJS += $(FWLOG_OBJS)
OBJS += $(EPPING_OBJS)