|
@@ -14,7 +14,13 @@ M ?= $(shell pwd)
|
|
|
ifeq ($(WLAN_ROOT),)
|
|
|
# WLAN_ROOT must contain an absolute path (i.e. not a relative path)
|
|
|
KBUILD_OPTIONS := WLAN_ROOT=$(shell cd $(KERNEL_SRC); readlink -e $(M))
|
|
|
+
|
|
|
+# MODNAME should be qca_cld3_wlan for helium based platform
|
|
|
+ifeq (qca_cld3, $(WLAN_CHIPSET))
|
|
|
+KBUILD_OPTIONS += MODNAME?=$(WLAN_CHIPSET)_wlan
|
|
|
+else
|
|
|
KBUILD_OPTIONS += MODNAME?=wlan
|
|
|
+endif
|
|
|
|
|
|
#By default build for CLD
|
|
|
WLAN_SELECT := CONFIG_QCA_CLD_WLAN=m
|