qcacld-3.0: Include config file only after override

Include defconfig profile only after processing WLAN_CFG_OVERRIDE.

Change-Id: I11164995061ee057dfcb3abaef2af2f2d33bfd23
CRs-Fixed: 2661823
This commit is contained in:
Mahesh Kumar Kalikot Veetil 2020-04-05 15:09:30 -07:00 • committed by nshrivas
commit dada577f90

3
Kbuild
View file

@ -31,7 +31,6 @@ ifneq ($(ANDROID_BUILD_TOP),)
endif
endif
include $(WLAN_ROOT)/configs/$(CONFIG_QCA_CLD_WLAN_PROFILE)_defconfig
# add configurations in WLAN_CFG_OVERRIDE
ifneq ($(WLAN_CFG_OVERRIDE),)
@ -45,6 +44,8 @@ include $(WLAN_CFG_OVERRIDE_FILE)
$(warning "Overriding WLAN config with: $(shell cat $(WLAN_CFG_OVERRIDE_FILE))")
endif
include $(WLAN_ROOT)/configs/$(CONFIG_QCA_CLD_WLAN_PROFILE)_defconfig
############ UAPI ############
UAPI_DIR := uapi
UAPI_INC := -I$(WLAN_ROOT)/$(UAPI_DIR)/linux