AndroidKernelModule.mk: add bengal in Build_external_kernelmodule.mk

add Build_external_kernelmodule.mk for new sm6225 base.

Change-Id: I1b1b7a82ac9040e0c6d0f66af34bf4d09ee0ec97
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/2647687
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
zhaoxp3 authored and Xiangpo Zhao committed 2023-06-20 01:10:06 -05:00
1 parent 4453c5b727
commit 672359fba1
1 file changed
+14
+14
View File
@@ -1,4 +1,18 @@
USE_NEW_DLKM_MK := false
ifeq ($(call is-board-platform-in-list,taro kalama parrot), true) ifeq ($(call is-board-platform-in-list,taro kalama parrot), true)
#Taro and beyond are using a new mechanisim to build kernel modules
USE_NEW_DLKM_MK := true
endif
ifeq ($(TARGET_BOARD_PLATFORM), bengal)
ifeq ($(TARGET_KERNEL_VERSION), 5.15)
#new bengal uses new mechanisim to build kernel modules
USE_NEW_DLKM_MK := true
endif
endif
ifeq ($(USE_NEW_DLKM_MK), true)
ifneq (,$(findstring $(LOCAL_MODULE),$(BOARD_VENDOR_KERNEL_MODULES))) ifneq (,$(findstring $(LOCAL_MODULE),$(BOARD_VENDOR_KERNEL_MODULES)))
#Taro and beyond are using a new mechanisim to build kernel modules #Taro and beyond are using a new mechanisim to build kernel modules
include device/qcom/common/dlkm/Build_external_kernelmodule.mk include device/qcom/common/dlkm/Build_external_kernelmodule.mk