mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
input: nova_0flash_mmi: use different touch state macro
nova_0flash_mmi: kernel 5.4 and kernel 5.10 msm drm are different, so need use different marco to control msm_drm.ko dependency. Change-Id: I079e3fd3649dadbcb8bb6f427b6475587995b644 Signed-off-by: wangyq13 <wangyq13@lenovo.com> Reviewed-on: https://gerrit.mot.com/2412213 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jing Hu <hujing3@lenovo.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
699b23166f
commit
559f5ff2cb
1 changed files with 5 additions and 2 deletions
|
|
@ -17,7 +17,10 @@ endif
|
|||
|
||||
ifneq ($(MOTO_PANEL_CHECK_TOUCH_STATE),)
|
||||
KBUILD_OPTIONS += CONFIG_INPUT_NOVA_0FLASH_MMI_NOTIFY_TOUCH_STATE=y
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES += $(KERNEL_MODULES_OUT)/msm_drm.ko
|
||||
endif
|
||||
|
||||
ifneq ($(MOTO_PANEL_CHECK_TOUCH_STATE_V2),)
|
||||
KBUILD_OPTIONS += CONFIG_INPUT_NOVA_0FLASH_MMI_NOTIFY_TOUCH_STATE=y
|
||||
endif
|
||||
|
||||
ifneq ($(BOARD_USES_PANEL_NOTIFICATIONS),)
|
||||
|
|
@ -87,7 +90,7 @@ ifneq ($(findstring touchscreen_mmi.ko,$(BOARD_VENDOR_KERNEL_MODULES)),)
|
|||
KBUILD_OPTIONS += CONFIG_INPUT_TOUCHSCREEN_MMI=y
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES += $(KERNEL_MODULES_OUT)/touchscreen_mmi.ko
|
||||
endif
|
||||
ifneq ($(MOTO_PANEL_CHECK_TOUCH_STATE),)
|
||||
ifneq ($(MOTO_PANEL_CHECK_TOUCH_STATE_V2),)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES += $(KERNEL_MODULES_OUT)/msm_drm.ko
|
||||
endif
|
||||
KBUILD_OPTIONS_GKI += GKI_OBJ_MODULE_DIR=gki
|
||||
|
|
|
|||
Loading…
Reference in a new issue