mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Kbuild: Refactor ol_txrx_event.o rule
There are currently two different places where ol_txrx_event.o is added to the final target object list. As part of ongoing Makefile cleanup consolidate these to a single location. Change-Id: Id342ae771830f5fd4d65c6c5523c36f1e50bc941 CRs-Fixed: 2867841
This commit is contained in:
parent
c12b67f740
commit
addb7e7a6f
1 changed files with 6 additions and 8 deletions
14
Kbuild
14
Kbuild
|
|
@ -1592,8 +1592,13 @@ FWLOG_OBJS := $(FWLOG_DIR)/dbglog_host.o
|
|||
TXRX_DIR := core/dp/txrx
|
||||
TXRX_INC := -I$(WLAN_ROOT)/$(TXRX_DIR)
|
||||
|
||||
TXRX_OBJS :=
|
||||
ifeq ($(CONFIG_WDI_EVENT_ENABLE), y)
|
||||
TXRX_OBJS += $(TXRX_DIR)/ol_txrx_event.o
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_LITHIUM), y)
|
||||
TXRX_OBJS := $(TXRX_DIR)/ol_txrx.o \
|
||||
TXRX_OBJS += $(TXRX_DIR)/ol_txrx.o \
|
||||
$(TXRX_DIR)/ol_cfg.o \
|
||||
$(TXRX_DIR)/ol_rx.o \
|
||||
$(TXRX_DIR)/ol_rx_fwd.o \
|
||||
|
|
@ -1608,10 +1613,6 @@ TXRX_OBJS := $(TXRX_DIR)/ol_txrx.o \
|
|||
$(TXRX_DIR)/ol_txrx_encap.o \
|
||||
$(TXRX_DIR)/ol_tx_send.o
|
||||
|
||||
ifeq ($(CONFIG_WDI_EVENT_ENABLE), y)
|
||||
TXRX_OBJS += $(TXRX_DIR)/ol_txrx_event.o
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LL_DP_SUPPORT), y)
|
||||
|
||||
TXRX_OBJS += $(TXRX_DIR)/ol_tx_ll.o
|
||||
|
|
@ -2422,9 +2423,6 @@ 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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue