mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
qcacld-3.0: Makefile change to generate driver name as qca_cld3_wlan
Currently, on Wear HL based target with keystone kernel, it generates WLAN driver with name "wlan.ko". And to enable WIFI every time it has to rename wlan.ko with qca_cld3_wlan.ko. This commits generates the WLAN driver (WLAN_CHIPSET_wlan.ko) based on Macro defined i.e. WLAN_CHIPSET else generate wlan.ko. Change-Id: I9b278ba74052f1a333ed59d0b048d5a0611db076 CRs-Fixed: 3125247
This commit is contained in:
parent
d6109f2e0f
commit
f80f0ae2e9
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
|
@ -13,7 +13,13 @@ M ?= $(shell pwd)
|
|||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue