Revert "(CR) build: Only include modules needed by product"

After apply https://gerrit.mot.com/#/c/2078132/, the FPS is available after
flashing GKI but the touch(focaltech_v2_mmi) will be unavailable on courfr

This reverts commit 284e4b4bb7693a6c9552afefe5b4fe8944baa0b0.

Change-Id: I9f6ff86b0d9179aedc66c09e9358a052a01b3fc4
Reviewed-on: https://gerrit.mot.com/2078503
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Jianlin Nie <niejl1@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Xiaojun Ji 2021-09-28 03:36:25 -05:00
parent 7c54bf9cae
commit c128d71702

View file

@ -5,10 +5,8 @@ include device/qcom/common/dlkm/Build_external_kernelmodule.mk
endif
else
ifneq (,$(findstring gki,$(KERNEL_DEFCONFIG)))
ifneq (,$(findstring $(LOCAL_MODULE),$(BOARD_VENDOR_KERNEL_MODULES)))
#GKI product should use Qcom latest dlkm compile file
include device/qcom/common/dlkm/AndroidKernelModule.mk
endif
else
DISABLE_THIS_DLKM := $(strip $(TARGET_KERNEL_DLKM_DISABLE))