mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
touchscreen_mmi: import correct Modules.symvers in GKI build mode
When importing the Modules.symvers in fix path, the GKI module will import an incorrect one and cause module load fail in boot-gki kernel mode. Change-Id: Ie17e494821dafcc1fad147202dae445b9250875b Reviewed-on: https://gerrit.mot.com/1743517 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jichao Zou <zoujc@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a11e15b275
commit
c55f0b7ef4
2 changed files with 2 additions and 1 deletions
|
|
@ -26,4 +26,5 @@ LOCAL_MODULE := touchscreen_mmi.ko
|
|||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(KERNEL_MODULES_OUT)/sensors_class.ko
|
||||
KBUILD_OPTIONS_GKI += GKI_OBJ_MODULE_DIR=gki
|
||||
include $(DLKM_DIR)/AndroidKernelModule.mk
|
||||
|
|
|
|||
|
|
@ -24,4 +24,4 @@ endif
|
|||
obj-m := touchscreen_mmi.o
|
||||
touchscreen_mmi-objs := touchscreen_mmi_class.o touchscreen_mmi_panel.o touchscreen_mmi_notif.o touchscreen_mmi_gesture.o
|
||||
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../../sensors/Module.symvers
|
||||
KBUILD_EXTRA_SYMBOLS += $(CURDIR)/$(KBUILD_EXTMOD)/../../../sensors/$(GKI_OBJ_MODULE_DIR)/Module.symvers
|
||||
|
|
|
|||
Loading…
Reference in a new issue