summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2017-06-05 16:23:34 +0200
committerDees Troy <dees_troy@teamw.in>2017-11-28 14:53:49 +0100
commitdcd9f3f384f9497916118173ece71cd258cab876 (patch)
tree0c4357d01bf07aeaaf452a5da9798979bb2d924f /prebuilt
parentADB Backup: Fix gzip backup and restore (diff)
downloadandroid_bootable_recovery-dcd9f3f384f9497916118173ece71cd258cab876.tar
android_bootable_recovery-dcd9f3f384f9497916118173ece71cd258cab876.tar.gz
android_bootable_recovery-dcd9f3f384f9497916118173ece71cd258cab876.tar.bz2
android_bootable_recovery-dcd9f3f384f9497916118173ece71cd258cab876.tar.lz
android_bootable_recovery-dcd9f3f384f9497916118173ece71cd258cab876.tar.xz
android_bootable_recovery-dcd9f3f384f9497916118173ece71cd258cab876.tar.zst
android_bootable_recovery-dcd9f3f384f9497916118173ece71cd258cab876.zip
Diffstat (limited to 'prebuilt')
-rw-r--r--prebuilt/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index f03c66744..aff20d555 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -170,7 +170,11 @@ ifeq ($(TW_INCLUDE_CRYPTO), true)
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)