mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacld-3.0: Kbuild: Cleanup PKTLOG_OBJS logic
Currently PKTLOG_OBJS are added to OBJS when CONFIG_REMOVE_PKT_LOG is not enabled. An upcoming change requires that assignments to OBJS be unconditional, so relocate the condition to wrap the assignment of PKTLOG_OBJS. Change-Id: I34b9bea3186e5bda12e7ce0d8a1327383170b6c1 CRs-Fixed: 2868000
This commit is contained in:
parent
3c7c22225c
commit
5bf0a3641d
1 changed files with 2 additions and 3 deletions
5
Kbuild
5
Kbuild
|
|
@ -1740,6 +1740,7 @@ CDP_INC := -I$(WLAN_COMMON_INC)/$(CDP_INC_DIR)
|
|||
PKTLOG_DIR := $(WLAN_COMMON_ROOT)/utils/pktlog
|
||||
PKTLOG_INC := -I$(WLAN_ROOT)/$(PKTLOG_DIR)/include
|
||||
|
||||
ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
|
||||
PKTLOG_OBJS := $(PKTLOG_DIR)/pktlog_ac.o \
|
||||
$(PKTLOG_DIR)/pktlog_internal.o \
|
||||
$(PKTLOG_DIR)/linux_ac.o
|
||||
|
|
@ -1749,6 +1750,7 @@ ifeq ($(CONFIG_PKTLOG_LEGACY), y)
|
|||
else
|
||||
PKTLOG_OBJS += $(PKTLOG_DIR)/pktlog_wifi3.o
|
||||
endif
|
||||
endif
|
||||
|
||||
############ HTT ############
|
||||
HTT_DIR := core/dp/htt
|
||||
|
|
@ -2485,10 +2487,7 @@ ifeq ($(CONFIG_IPA_OFFLOAD), y)
|
|||
OBJS += $(IPA_OBJS)
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_REMOVE_PKT_LOG), n)
|
||||
OBJS += $(PKTLOG_OBJS)
|
||||
endif
|
||||
|
||||
OBJS += $(HOST_DIAG_LOG_OBJS)
|
||||
OBJS += $(DISA_OBJS)
|
||||
OBJS += $(ACTION_OUI_OBJS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue