Skip to content

Commit edd66b9

Browse files
sultanqasimmsfjarvis
authored andcommitted
Use source built libcryptfs_hw
You need this if you don't already have it: https://github.com/LineageOS/android_vendor_qcom_opensource_cryptfs_hw/tree/cm-14.1
1 parent deb0ba9 commit edd66b9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

crypto/lollipop/Android.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LOCAL_C_INCLUDES := external/openssl/include $(commands_recovery_local_path)/cry
1111

1212
ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
1313
ifeq ($(TARGET_CRYPTFS_HW_PATH),)
14-
LOCAL_C_INCLUDES += device/qcom/common/cryptfs_hw
14+
LOCAL_C_INCLUDES += vendor/qcom/opensource/cryptfs_hw
1515
else
1616
LOCAL_C_INCLUDES += $(TARGET_CRYPTFS_HW_PATH)
1717
endif
@@ -41,7 +41,7 @@ LOCAL_C_INCLUDES := external/openssl/include $(commands_recovery_local_path)/cry
4141

4242
ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
4343
ifeq ($(TARGET_CRYPTFS_HW_PATH),)
44-
LOCAL_C_INCLUDES += device/qcom/common/cryptfs_hw
44+
LOCAL_C_INCLUDES += vendor/qcom/opensource/cryptfs_hw
4545
else
4646
LOCAL_C_INCLUDES += $(TARGET_CRYPTFS_HW_PATH)
4747
endif

prebuilt/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ ifeq ($(TW_INCLUDE_CRYPTO), true)
164164
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libhardware.so
165165
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libgpt_twrp.so
166166
ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
167-
RELINK_SOURCE_FILES += $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libcryptfs_hw.so
167+
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcryptfs_hw.so
168168
endif
169169
# FBE files
170170
ifeq ($(TW_INCLUDE_CRYPTO_FBE), true)

0 commit comments

Comments
 (0)