update crypto
authorSimon Sickle <simon@simonsickle.com>
Sat, 25 Nov 2017 07:52:43 +0000 (01:52 -0600)
committerSimon Sickle <simon@simonsickle.com>
Sat, 25 Nov 2017 07:52:43 +0000 (01:52 -0600)
Signed-off-by: Simon Sickle <simon@simonsickle.com>
BoardConfig.mk
cryptfs_hw/Android.mk

index 053cc0bfd602982dd90166454d17b52980cb16cc..936fd8cf5a21fc0eb077608165ab6ab2dd5936da 100644 (file)
@@ -70,7 +70,8 @@ TARGET_COPY_OUT_VENDOR := vendor
 
 # Crypto
 TARGET_HW_DISK_ENCRYPTION := true
-TARGET_CRYPTFS_HW_PATH := $(BOARD_PATH)/cryptfs_hw
+TARGET_CRYPTFS_HW_PATH := vendor/qcom/opensource/cryptfs_hw
+TARGET_RECOVERY_DEVICE_MODULES := libcryptfs_hw
 
 # Recovery
 BOARD_HAS_LARGE_FILESYSTEM := true
index 605c9446a9d5d2d6d5c65a174c8e300bef9360d8..8948c8098a55ac23ff510ae4274d6d9abea75209 100644 (file)
@@ -2,7 +2,7 @@ ifeq ($(TARGET_HW_DISK_ENCRYPTION),true)
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
-LOCAL_PROPRIETARY_MODULE := true
+LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
 
 sourceFiles := \
                cryptfs_hw.c