qcacld-3.0: add support to remove the ftm from configuration

Phase 1, after ftm componentization, we could now support to remove
the ftm related components when FTM is disable from the build
configuration.

Size changes: after removing the ftm related binaries, we could save
15KB from module size.

Change-Id: Ib363f1d6204b07947a46f32673c4f8ad6fb3dbd3
CRs-fixed: 2258441
Cette révision appartient à :
Ryan Hsu
2018-06-01 10:45:51 -07:00
révisé par nshrivas
Parent edbe98af3c
révision 6e9db0b728
3 fichiers modifiés avec 38 ajouts et 1 suppressions

Voir le fichier

@@ -448,6 +448,21 @@ CONFIG_TX_CREDIT_RECLAIM_SUPPORT := n
#Enable FTM support
CONFIG_QCA_WIFI_FTM := y
ifeq ($(CONFIG_QCA_WIFI_FTM), y)
ifeq ($(CONFIG_NL80211_TESTMODE), y)
QCA_WIFI_FTM_NL80211 :=y
else
QCA_WIFI_FTM_NL80211 :=n
endif
CONFIG_LINUX_QCMBR :=y
else
QCA_WIFI_FTM_NL80211 :=n
CONFIG_LINUX_QCMBR :=n
endif
#Enable Checksum Offload
CONFIG_CHECKSUM_OFFLOAD := y