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 <yangj@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
This commit is contained in:
xizx 2020-07-30 18:00:38 +08:00 committed by Zhenxin Xi
parent e12df6e95d
commit 90208be97d

View file

@ -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))