lineage: Set TARGET_CRYPTFS_HW_PATH if HW crypto is enabled
* So TWRP can use it
Change-Id: Ibc1d9d943d6d4e4e5248f623cd06782335f8ae98
diff --git a/config/BoardConfigLineage.mk b/config/BoardConfigLineage.mk
index 0336314..e097cce 100644
--- a/config/BoardConfigLineage.mk
+++ b/config/BoardConfigLineage.mk
@@ -2,3 +2,8 @@
ifeq ($(WITH_LINEAGE_CHARGER),true)
BOARD_HAL_STATIC_LIBRARIES := libhealthd.lineage
endif
+
+# QCOM HW crypto
+ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
+ TARGET_CRYPTFS_HW_PATH ?= vendor/qcom/opensource/cryptfs_hw
+endif