qcacld-3.0: Move COAP related INCS into feature flag
Currently implemented change for COAP causes to append header files to INCS even if CONFIG_WLAN_FEATURE_COAP is disabled. This leads to compilation hard stop due to overflow of argumnets to shell. ie, by moving COAP related code under feature flag can help to reduce shell arguments when COAP is disabled. Change-Id: If1f8334229a601f7415cbad876a7c9e0fcfb1370 CRs-Fixed: 3299853
This commit is contained in:

committed by
Madan Koyyalamudi

parent
dbfcb57f71
commit
1db3572886
5
Kbuild
5
Kbuild
@@ -2629,6 +2629,7 @@ endif
|
|||||||
$(call add-wlan-objs,coex,$(COEX_OBJS))
|
$(call add-wlan-objs,coex,$(COEX_OBJS))
|
||||||
|
|
||||||
###### COAP ########
|
###### COAP ########
|
||||||
|
ifeq ($(CONFIG_WLAN_FEATURE_COAP), y)
|
||||||
COAP_HDD_SRC := core/hdd/src
|
COAP_HDD_SRC := core/hdd/src
|
||||||
COAP_OS_IF_SRC := os_if/coap/src
|
COAP_OS_IF_SRC := os_if/coap/src
|
||||||
COAP_TGT_SRC := components/target_if/coap/src
|
COAP_TGT_SRC := components/target_if/coap/src
|
||||||
@@ -2642,7 +2643,6 @@ COAP_DISPATCHER_INC := -I$(WLAN_ROOT)/components/coap/dispatcher/inc
|
|||||||
COAP_CORE_INC := -I$(WLAN_ROOT)/components/coap/core/inc
|
COAP_CORE_INC := -I$(WLAN_ROOT)/components/coap/core/inc
|
||||||
COAP_WMI_INC := -I$(WLAN_ROOT)/components/wmi/inc
|
COAP_WMI_INC := -I$(WLAN_ROOT)/components/wmi/inc
|
||||||
|
|
||||||
ifeq ($(CONFIG_WLAN_FEATURE_COAP), y)
|
|
||||||
COAP_OBJS := \
|
COAP_OBJS := \
|
||||||
$(COAP_HDD_SRC)/wlan_hdd_coap.o \
|
$(COAP_HDD_SRC)/wlan_hdd_coap.o \
|
||||||
$(COAP_OS_IF_SRC)/wlan_cfg80211_coap.o \
|
$(COAP_OS_IF_SRC)/wlan_cfg80211_coap.o \
|
||||||
@@ -2651,9 +2651,8 @@ COAP_OBJS := \
|
|||||||
$(COAP_DISPATCHER_SRC)/wlan_coap_tgt_api.o \
|
$(COAP_DISPATCHER_SRC)/wlan_coap_tgt_api.o \
|
||||||
$(COAP_DISPATCHER_SRC)/wlan_coap_ucfg_api.o \
|
$(COAP_DISPATCHER_SRC)/wlan_coap_ucfg_api.o \
|
||||||
$(COAP_WMI_SRC)/wmi_unified_coap_tlv.o
|
$(COAP_WMI_SRC)/wmi_unified_coap_tlv.o
|
||||||
endif
|
|
||||||
|
|
||||||
$(call add-wlan-objs,coap,$(COAP_OBJS))
|
$(call add-wlan-objs,coap,$(COAP_OBJS))
|
||||||
|
endif
|
||||||
|
|
||||||
############## HTC ##########
|
############## HTC ##########
|
||||||
HTC_DIR := htc
|
HTC_DIR := htc
|
||||||
|
Reference in New Issue
Block a user