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:
1 parent
4453c5b727
commit
672359fba1
1 file changed
+14
@@ -1,4 +1,18 @@
|
||||
USE_NEW_DLKM_MK := false
|
||||
|
||||
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)))
|
||||
#Taro and beyond are using a new mechanisim to build kernel modules
|
||||
include device/qcom/common/dlkm/Build_external_kernelmodule.mk
|
||||
|
||||
Reference in new issue
Block a user