qcacld-3.0: Kbuild: Cleanup EPPING_OBJS logic

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

Change-Id: I69f9b1b707c9475a393f89f2297e90e4ee8d1e5e
CRs-Fixed: 2868005
This commit is contained in:
Jeff Johnson 2021-02-01 13:56:46 -08:00 • committed by snandini
commit fb9f8cc8a1

5
Kbuild
View file

@ -471,11 +471,13 @@ EPPING_SRC_DIR := $(EPPING_DIR)/src
EPPING_INC := -I$(WLAN_ROOT)/$(EPPING_INC_DIR)
ifeq ($(CONFIG_FEATURE_EPPING), y)
EPPING_OBJS := $(EPPING_SRC_DIR)/epping_main.o \
$(EPPING_SRC_DIR)/epping_txrx.o \
$(EPPING_SRC_DIR)/epping_tx.o \
$(EPPING_SRC_DIR)/epping_rx.o \
$(EPPING_SRC_DIR)/epping_helper.o
endif
############ SYS ############
CMN_SYS_DIR := $(WLAN_COMMON_ROOT)/utils/sys
@ -2451,10 +2453,7 @@ ifeq ($(CONFIG_FEATURE_FW_LOG_PARSING), y)
OBJS += $(FWLOG_OBJS)
endif
ifeq ($(CONFIG_FEATURE_EPPING), y)
OBJS += $(EPPING_OBJS)
endif
OBJS += $(DFS_OBJS)
OBJS += $(UMAC_OBJMGR_OBJS)
OBJS += $(WIFI_POS_OBJS)