android_kernel_samsung_sm86.../qcom/opensource/fingerprint/Android.mk
David Wronek 992813d9c1 Add 'qcom/opensource/fingerprint/' from commit 'bf1db14b5f25c95f72d4ad57026186a823c22eff'
git-subtree-dir: qcom/opensource/fingerprint
git-subtree-mainline: af64423e9f
git-subtree-split: bf1db14b5f
Change-Id:
repo: https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/fingerprint
tag: LA.VENDOR.14.3.0.r1-17300-lanai.QSSI15.0
2024-10-06 16:44:49 +02:00

29 lines
754 B
Makefile

# Android makefile for Fingerprint kernel modules
FINGERPRINT_DLKM_ENABLED := true
ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
ifeq ($(TARGET_KERNEL_DLKM_FINGERPRINT_OVERRIDE), false)
FINGERPRINT_DLKM_ENABLED := false;
endif
endif
ifeq ($(FINGERPRINT_DLKM_ENABLED), true)
ifeq ($(call is-board-platform-in-list,pineapple), true)
ifneq (,$(filter arm aarch64 arm64, $(TARGET_ARCH)))
LOCAL_PATH := $(call my-dir)
LOCAL_MODULE_DDK_BUILD := true
DLKM_DIR := device/qcom/common/dlkm
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(LOCAL_PATH)/qbt_handler.c
LOCAL_MODULE := qbt_handler.ko
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
include $(DLKM_DIR)/Build_external_kernelmodule.mk
endif
endif
endif