29 lines
855 B
Makefile
29 lines
855 B
Makefile
|
|
ifneq ($(filter $(YFT_SUPPORT_FINGERPRINT_CHIP), focaltech_tee),)
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
LIBS_PATH = lib
|
|
ifeq ($(TARGET_ARCH), arm)
|
|
LIBS_PATH = lib
|
|
endif
|
|
ifeq ($(TARGET_ARCH), arm64)
|
|
LIBS_PATH = lib64
|
|
endif
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := vendor.focaltech.fingerprint@1.0-service
|
|
LOCAL_MODULE_CLASS := EXECUTABLES
|
|
LOCAL_CHECK_ELF_FILES := false
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
#ifneq ($(filter $(YFT_SUPPORT_FINGERPRINT_CHIP), fortsense_ree),)
|
|
#LOCAL_SRC_FILES := ./ree/vendor/bin/hw/vendor.fptool.fingerprint@2.0-service
|
|
#else ifneq ($(filter $(YFT_SUPPORT_FINGERPRINT_CHIP), fortsense_tee),)
|
|
LOCAL_SRC_FILES := tee/vendor/bin/hw/$(LIBS_PATH)/$(LOCAL_MODULE)
|
|
#endif
|
|
LOCAL_VINTF_FRAGMENTS := focaltech_manifest.xml
|
|
|
|
include $(BUILD_PREBUILT)
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
endif
|