mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
qcacld-3.0: Conditionally build TDLS component
Currently the TDLS component code is unconditionally built which will bloat images where TDLS is not required. Fix this by only building the TDLS component when the TDLS feature is enabled. Change-Id: I7496b8f07ed495b00e62fc3cf50a96e1829d9341 CRs-Fixed: 2399966
This commit is contained in:
parent
7c0082d61d
commit
74c6bb25ba
4 changed files with 86 additions and 4 deletions
3
Kbuild
3
Kbuild
|
|
@ -1028,6 +1028,8 @@ TDLS_TARGET_IF_SRC := components/target_if/tdls/src
|
|||
TDLS_INC := -I$(WLAN_ROOT)/$(TDLS_DIR)/dispatcher/inc \
|
||||
-I$(WLAN_ROOT)/$(TDLS_OS_IF_INC) \
|
||||
-I$(WLAN_ROOT)/$(TDLS_TARGET_IF_INC)
|
||||
|
||||
ifeq ($(CONFIG_CONVERGED_TDLS_ENABLE), y)
|
||||
TDLS_OBJS := $(TDLS_DIR)/core/src/wlan_tdls_main.o \
|
||||
$(TDLS_DIR)/core/src/wlan_tdls_cmds_process.o \
|
||||
$(TDLS_DIR)/core/src/wlan_tdls_peer.o \
|
||||
|
|
@ -1039,6 +1041,7 @@ TDLS_OBJS := $(TDLS_DIR)/core/src/wlan_tdls_main.o \
|
|||
$(TDLS_DIR)/dispatcher/src/wlan_tdls_cfg.o \
|
||||
$(TDLS_OS_IF_SRC)/wlan_cfg80211_tdls.o \
|
||||
$(TDLS_TARGET_IF_SRC)/target_if_tdls.o
|
||||
endif
|
||||
|
||||
########### BMI ###########
|
||||
BMI_DIR := core/bmi
|
||||
|
|
|
|||
Loading…
Reference in a new issue