qcacld-3.0: Add kiwi_v2 flags to Makefile

Change-Id: Id27040a666ce6cdbe507de6f843125681d7f1765
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
This commit is contained in:
Arian 2024-04-16 20:11:26 +05:30 committed by David Wronek
parent 22590e08ba
commit 328f5434f7

View File

@ -12,22 +12,19 @@ KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
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 wear target
ifeq (qca_cld3, $(WLAN_WEAR_CHIPSET))
KBUILD_OPTIONS += MODNAME?=$(WLAN_WEAR_CHIPSET)_wlan
else
KBUILD_OPTIONS += MODNAME?=wlan
endif
#By default build for CLD
WLAN_SELECT := CONFIG_QCA_CLD_WLAN=m
KBUILD_OPTIONS += CONFIG_QCA_WIFI_ISOC=0
KBUILD_OPTIONS += CONFIG_QCA_WIFI_2_0=1
KBUILD_OPTIONS += $(WLAN_SELECT)
KBUILD_OPTIONS += $(KBUILD_EXTRA) # Extra config if any
KBUILD_OPTIONS += \
WLAN_ROOT=$(KERNEL_SRC)/$(M)/.kiwi_v2 \
WLAN_COMMON_ROOT=cmn \
WLAN_COMMON_INC=$(KERNEL_SRC)/$(M)/cmn \
WLAN_FW_API=$(KERNEL_SRC)/$(M)/../fw-api \
CONFIG_QCA_CLD_WLAN=m \
CONFIG_CNSS_KIWI_V2=y \
WLAN_PROFILE=kiwi_v2 \
DYNAMIC_SINGLE_CHIP= \
MODNAME=qca_cld3_kiwi_v2 \
DEVNAME=kiwi_v2 \
BOARD_PLATFORM=pineapple \
WLAN_CTRL_NAME=wlan
endif
all: