From 9ec97ffd6f640815203ab432f5fb4f6371d9c935 Mon Sep 17 00:00:00 2001 From: xizx Date: Thu, 30 Jul 2020 18:00:38 +0800 Subject: [PATCH] AndroidKernelModule.mk: use Qcom dlkm file for GKI products In order to keep compatability with current Moto products, GKI products should use qcom dlkm files for GKI compile. Including original qcom dlkm file will also easily sync with Qcom's changes. Change-Id: I2373003e8149a2cfb9a2fbb4bf4784297d30d7e1 Reviewed-on: https://gerrit.mot.com/1709604 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Reviewed-by: Jianqi Yang Tested-by: Jira Key Submit-Approved: Jira Key --- AndroidKernelModule.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AndroidKernelModule.mk b/AndroidKernelModule.mk index eb7036d56d77..ad66449e215a 100644 --- a/AndroidKernelModule.mk +++ b/AndroidKernelModule.mk @@ -1,3 +1,7 @@ +ifneq (,$(findstring gki,$(KERNEL_DEFCONFIG))) +#GKI product should use Qcom latest dlkm compile file +include device/qcom/common/dlkm/AndroidKernelModule.mk +else DISABLE_THIS_DLKM := $(strip $(TARGET_KERNEL_DLKM_DISABLE)) ifeq ($(DISABLE_THIS_DLKM),true) @@ -175,3 +179,4 @@ endif KBUILD_OPTIONS := endif endif +endif #(findstring gki,$(KERNEL_DEFCONFIG))