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
14 lines
399 B
Makefile
14 lines
399 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
ifeq ($(TW_INCLUDE_CRYPTO), true)
|
|
LOCAL_SRC_FILES:= \
|
|
cryptsettings.c
|
|
LOCAL_CFLAGS:= -g -c -W
|
|
LOCAL_MODULE:=cryptsettings
|
|
LOCAL_MODULE_TAGS:= eng
|
|
LOCAL_SHARED_LIBRARIES += libc libcutils
|
|
LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp
|
|
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
|
|
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
|
|
include $(BUILD_EXECUTABLE)
|
|
endif |