icnss2: Update hardcoded path for BOARD_COMMON_DIR

Some targets use a different location for the build scripts and
set the BOARD_COMMON_DIR build variable accordingly. If this variable
is set, pick up the Build_external_kernelmodule.mk makefile
from this location.

Change-Id: I983849f8f250ea9e9cbf5ee09c71687893abb605
CRs-Fixed: 3636186
This commit is contained in:
Dundi Raviteja 2023-10-10 15:10:47 +05:30 committed by Ravindra Konda
parent b0a979e08c
commit 94cdab90a2

View File

@ -22,7 +22,9 @@ LOCAL_MODULE_KO_DIRS += cnss_genl/cnss_nl.ko
LOCAL_MODULE_KO_DIRS += cnss_prealloc/cnss_prealloc.ko
LOCAL_MODULE_KO_DIRS += cnss_utils/cnss_utils.ko
LOCAL_MODULE_KO_DIRS += icnss2/icnss2.ko
DLKM_DIR := $(TOP)/device/qcom/common/dlkm
BOARD_COMMON_DIR ?= device/qcom/common
DLKM_DIR := $(TOP)/$(BOARD_COMMON_DIR)/dlkm
# WLAN_PLATFORM_ROOT needs to be a absolute since it will be used
# for header files. $(TOP) cannot be used here since it will be