FPS: Support multi-fingerprint function.

Support multi-fingerprint function.
Compatible with android S compilation method.

Change-Id: I051838c9bbfadf2de488816169425ea11bb56d68
Signed-off-by: daiss1 <daiss1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2019759
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qiuliang Cheng <chengql2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
daiss1 2021-07-21 11:43:28 +08:00 • committed by Qiuliang Cheng
commit 986fcec74a

View file

@ -2,7 +2,11 @@ DLKM_DIR := motorola/kernel/modules
LOCAL_PATH := $(call my-dir)
ifeq ($(BOARD_HAS_MULTI_FPS),true)
KERNEL_CFLAGS += CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y
ifneq ($(KERNEL_CFLAGS),)
KERNEL_CFLAGS += CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y
else
KBUILD_OPTIONS += CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y
endif
endif
include $(CLEAR_VARS)