|
@@ -68,13 +68,14 @@ include $(foreach chip, $(TARGET_WLAN_CHIP), $(LOCAL_PATH)/.$(chip)/Android.mk)
|
|
|
|
|
|
else # Multi-ok check
|
|
|
|
|
|
+WLAN_PROFILE := default
|
|
|
+
|
|
|
ifeq ($(LOCAL_DEV_NAME), qcacld-3.0)
|
|
|
|
|
|
LOCAL_DEV_NAME := wlan
|
|
|
LOCAL_MOD_NAME := wlan
|
|
|
CMN_OFFSET := ..
|
|
|
LOCAL_SRC_DIR :=
|
|
|
-WLAN_PROFILE := default
|
|
|
TARGET_FW_DIR := firmware/wlan/qca_cld
|
|
|
TARGET_CFG_PATH := /vendor/etc/wifi
|
|
|
TARGET_MAC_BIN_PATH := /mnt/vendor/persist
|
|
@@ -83,7 +84,10 @@ else
|
|
|
|
|
|
LOCAL_SRC_DIR := .$(LOCAL_DEV_NAME)
|
|
|
CMN_OFFSET := .
|
|
|
+# Use default profile if WLAN_CFG_USE_DEFAULT defined.
|
|
|
+ifeq ($(WLAN_CFG_USE_DEFAULT),)
|
|
|
WLAN_PROFILE := $(LOCAL_DEV_NAME)
|
|
|
+endif
|
|
|
TARGET_FW_DIR := firmware/wlan/qca_cld/$(LOCAL_DEV_NAME)
|
|
|
TARGET_CFG_PATH := /vendor/etc/wifi/$(LOCAL_DEV_NAME)
|
|
|
TARGET_MAC_BIN_PATH := /mnt/vendor/persist/$(LOCAL_DEV_NAME)
|