|
@@ -1,4 +1,12 @@
|
|
|
# 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)))
|
|
@@ -17,3 +25,4 @@ include $(DLKM_DIR)/Build_external_kernelmodule.mk
|
|
|
|
|
|
endif
|
|
|
endif
|
|
|
+endif
|