From 7877b0daa1a749d8dc4d07cc5e09f43946564a23 Mon Sep 17 00:00:00 2001 From: zoujc Date: Sat, 22 May 2021 09:29:10 +0800 Subject: [PATCH] touch mmi:2nd patch, fix user version build error. When link binary object, dsi_freq_head is undefined, No kernel symbal table was imported. Match kernel version for user build. Change-Id: I73d4ea7c02c22c449ce7f266e54e1e0a17e16bd8 Signed-off-by: zoujc Reviewed-on: https://gerrit.mot.com/1957477 Reviewed-by: Jianqi Yang SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: litong Submit-Approved: Jira Key --- drivers/input/touchscreen/touchscreen_mmi/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/touchscreen_mmi/Android.mk b/drivers/input/touchscreen/touchscreen_mmi/Android.mk index 8d1a98d52785..d2068aafe733 100644 --- a/drivers/input/touchscreen/touchscreen_mmi/Android.mk +++ b/drivers/input/touchscreen/touchscreen_mmi/Android.mk @@ -27,5 +27,6 @@ LOCAL_MODULE_TAGS := optional LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT) LOCAL_ADDITIONAL_DEPENDENCIES := $(KERNEL_MODULES_OUT)/sensors_class.ko LOCAL_ADDITIONAL_DEPENDENCIES += $(KERNEL_MODULES_OUT)/mmi_relay.ko +KBUILD_OPTIONS_GKI += MODULE_KERNEL_VERSION=$(TARGET_KERNEL_VERSION) KBUILD_OPTIONS_GKI += GKI_OBJ_MODULE_DIR=gki include $(DLKM_DIR)/AndroidKernelModule.mk