summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaxwen <max.weninger@gmail.com>2016-08-01 22:21:35 +0200
committerMax Weninger <max.weninger@gmail.com>2016-08-10 20:38:26 +0200
commitad05c6dce42ac69fd9a3c04ad3246d7ab3acd7c1 (patch)
treee50783cccc57a821162b0b93aa73d4b259626c3d
parentFix md5 creation from adb backup patch. (diff)
downloadandroid_bootable_recovery-ad05c6dce42ac69fd9a3c04ad3246d7ab3acd7c1.tar
android_bootable_recovery-ad05c6dce42ac69fd9a3c04ad3246d7ab3acd7c1.tar.gz
android_bootable_recovery-ad05c6dce42ac69fd9a3c04ad3246d7ab3acd7c1.tar.bz2
android_bootable_recovery-ad05c6dce42ac69fd9a3c04ad3246d7ab3acd7c1.tar.lz
android_bootable_recovery-ad05c6dce42ac69fd9a3c04ad3246d7ab3acd7c1.tar.xz
android_bootable_recovery-ad05c6dce42ac69fd9a3c04ad3246d7ab3acd7c1.tar.zst
android_bootable_recovery-ad05c6dce42ac69fd9a3c04ad3246d7ab3acd7c1.zip
-rw-r--r--crypto/lollipop/Android.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/crypto/lollipop/Android.mk b/crypto/lollipop/Android.mk
index 16dfd28fd..6dc386a29 100644
--- a/crypto/lollipop/Android.mk
+++ b/crypto/lollipop/Android.mk
@@ -10,7 +10,11 @@ LOCAL_SHARED_LIBRARIES := libcrypto libhardware libcutils
LOCAL_C_INCLUDES := external/openssl/include $(commands_recovery_local_path)/crypto/scrypt/lib/crypto
ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
- LOCAL_C_INCLUDES += device/qcom/common/cryptfs_hw
+ ifeq ($(TARGET_CRYPTFS_HW_PATH),)
+ LOCAL_C_INCLUDES += device/qcom/common/cryptfs_hw
+ else
+ LOCAL_C_INCLUDES += $(TARGET_CRYPTFS_HW_PATH)
+ endif
LOCAL_SHARED_LIBRARIES += libcryptfs_hw
LOCAL_CFLAGS += -DCONFIG_HW_DISK_ENCRYPTION
endif
@@ -36,7 +40,11 @@ LOCAL_SHARED_LIBRARIES := libcrypto libhardware libcutils libc
LOCAL_C_INCLUDES := external/openssl/include $(commands_recovery_local_path)/crypto/scrypt/lib/crypto
ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
- LOCAL_C_INCLUDES += device/qcom/common/cryptfs_hw
+ ifeq ($(TARGET_CRYPTFS_HW_PATH),)
+ LOCAL_C_INCLUDES += device/qcom/common/cryptfs_hw
+ else
+ LOCAL_C_INCLUDES += $(TARGET_CRYPTFS_HW_PATH)
+ endif
LOCAL_SHARED_LIBRARIES += libcryptfs_hw
LOCAL_CFLAGS += -DCONFIG_HW_DISK_ENCRYPTION
endif