Merge "Support v2 fstab format" into android-8.0
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index f03c667..aff20d5 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -170,7 +170,11 @@
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libhardware.so
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libgpt_twrp.so
ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
- RELINK_SOURCE_FILES += $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libcryptfs_hw.so
+ ifeq ($(TARGET_CRYPTFS_HW_PATH),)
+ RELINK_SOURCE_FILES += $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libcryptfs_hw.so
+ else
+ RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcryptfs_hw.so
+ endif
endif
# FBE files
ifeq ($(TW_INCLUDE_CRYPTO_FBE), true)