From 4fbc441f27182000b6a7d1a3af852a02a84aee3f Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Wed, 29 Jan 2025 13:45:12 +0800 Subject: [PATCH] oplus: fingerprints: Unconditionally build the module Change-Id: I593f560cb7e0eb67cdc8c0c8fde31acc4c1a2fd8 --- .../biometrics/fingerprints/bsp/uff/driver/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/oplus/secure/biometrics/fingerprints/bsp/uff/driver/Makefile b/oplus/secure/biometrics/fingerprints/bsp/uff/driver/Makefile index d6699f9dd2..9d534a8893 100644 --- a/oplus/secure/biometrics/fingerprints/bsp/uff/driver/Makefile +++ b/oplus/secure/biometrics/fingerprints/bsp/uff/driver/Makefile @@ -16,25 +16,20 @@ ccflags-y += -DCONFIG_FP_INJECT_ENABLE endif # gki -ccflags-$(CONFIG_OPLUS_FINGERPRINT_GKI_ENABLE) += -DCONFIG_OPLUS_FINGERPRINT_GKI_ENABLE +ccflags-y += -DCONFIG_OPLUS_FINGERPRINT_GKI_ENABLE ################################################################ # QCOM ################################################################ -ifeq ($(CONFIG_UFF_FINGERPRINT_QCOM),y) ccflags-y += -DQCOM_PLATFORM -ifeq ($(CONFIG_OPLUS_FINGERPRINT_GKI_ENABLE),y) #tp for gki -ccflags-y += -I$(srctree)/../../vendor/oplus/kernel/touchpanel/oplus_touchscreen_v2/touchpanel_notify -endif +ccflags-y += -I$(srctree)/$(src)/../../../../../../kernel/touchpanel/oplus_touchscreen_v2/touchpanel_notify -obj-$(CONFIG_UFF_FINGERPRINT) += uff_fp_driver.o +obj-m += oplus_bsp_uff_fp_driver.o uff_fp_driver-y := fp_driver.o fp_platform.o fingerprint_event.o fp_health.o fp_netlink.o -ifeq ($(UFF_FP_DRIVER_INJECT_ENABLE),yes) uff_fp_driver-y += fp_fault_inject.o -endif -endif +oplus_bsp_uff_fp_driver-y := $(uff_fp_driver-y) ################################################################ # MTK