qcacmn: Compile qal_bridge.c only if DBDC_REPEATER_SUPPORT is enabled

qal_bridge.c has dependency on kernel bridge APIs and is required only
if DBDC_REPEATER_SUPPORT is enabled.

Remove qal_bridge.o from QDK Kbuild if DBDC_REPEATER_SUPPORT is not
enabled.

Change-Id: I4820742fed3cee3a168375d5bff0667a4bde3ffe
CRs-Fixed: 3030927
This commit is contained in:
Vignesh Viswanathan
2021-09-03 23:28:20 +05:30
committed by Madan Koyyalamudi
parent cd59d89a50
commit 3bc1eed1a6

View File

@@ -74,9 +74,9 @@ $(HOST_QAL_SRC)/linux/src/qal_devcfg.o \
$(HOST_QAL_SRC)/linux/src/qal_vbus_dev.o \
$(HOST_QAL_SRC)/linux/src/qal_notifier.o \
$(HOST_QAL_SRC)/linux/src/qal_devnode.o
#ifeq ($(DBDC_REPEATER_SUPPORT),1)
ifeq ($(DBDC_REPEATER_SUPPORT),1)
qal-objs += $(HOST_QAL_SRC)/linux/src/qal_bridge.o
#endif
endif
#linux/src/qdf_net.o \
#linux/src/qdf_net_event.o \