This was causing the mm command to fail when it was run from bootable/recovery and no crypto features had been specified in a device's configuration files Change-Id: Iddbeea5349bbf75cddb0250cd71821dfe3b7b9d8
15 lines
423 B
Makefile
15 lines
423 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
ifeq ($(TW_INCLUDE_JB_CRYPTO), true)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libcryptfsjb
|
|
LOCAL_MODULE_TAGS := eng
|
|
LOCAL_MODULES_TAGS = optional
|
|
LOCAL_CFLAGS =
|
|
LOCAL_SRC_FILES = cryptfs.c
|
|
LOCAL_C_INCLUDES += system/extras/ext4_utils external/openssl/include
|
|
LOCAL_SHARED_LIBRARIES += libc liblog libcutils libcrypto
|
|
LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
endif |