mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
DLKM/fpc:optimise build rule for FPC fps driver
remove Macro control,use KBUILD_OPTIONS&KBUILD_CFLAGS solve issue that sys/class/fingerprint didn't work for mutil fps Change-Id: I877cb0c8dc7def47de4d793cd6b11e6ca8d96e85 Signed-off-by: chenlj2 <chenlj2@motorola.com> Reviewed-on: https://gerrit.mot.com/2374594 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: liujian <liujian24@lenovo.com> Reviewed-by: Tao Sun <suntao2@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
e82c409b2b
commit
1fcdae1a83
1 changed files with 2 additions and 5 deletions
|
|
@ -2,11 +2,8 @@ DLKM_DIR := motorola/kernel/modules
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(BOARD_HAS_MULTI_FPS),true)
|
||||
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
|
||||
KBUILD_OPTIONS += CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y
|
||||
KERNEL_CFLAGS += CONFIG_INPUT_MISC_FPC1020_SAVE_TO_CLASS_DEVICE=y
|
||||
endif
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue