diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk index bec425a94..9781541ef 100644 --- a/Android.mk +++ b/Android.mk @@ -306,13 +306,13 @@ include $(CLEAR_VARS) LOCAL_MODULE := libaosprecovery LOCAL_MODULE_TAGS := eng LOCAL_MODULES_TAGS = optional -LOCAL_CFLAGS = -ifneq ($(wildcard system/core/libmincrypt/rsa_e_3.c),) - LOCAL_CFLAGS += -DHAS_EXPONENT +ifeq ($(TARGET_BOARD_PLATFORM),rk30xx) + LOCAL_CFLAGS += -DRK3066 endif +LOCAL_C_INCLUDES := bootable/recovery/libmincrypt/includes LOCAL_SRC_FILES = adb_install.cpp bootloader.cpp verifier.cpp mtdutils/mtdutils.c LOCAL_SHARED_LIBRARIES += libc liblog libcutils libmtdutils -LOCAL_STATIC_LIBRARIES += libmincrypt +LOCAL_STATIC_LIBRARIES += libmincrypttwrp include $(BUILD_SHARED_LIBRARY) @@ -343,7 +343,8 @@ include $(commands_recovery_local_path)/injecttwrp/Android.mk \ $(commands_recovery_local_path)/libblkid/Android.mk \ $(commands_recovery_local_path)/minuitwrp/Android.mk \ $(commands_recovery_local_path)/openaes/Android.mk \ - $(commands_recovery_local_path)/toolbox/Android.mk + $(commands_recovery_local_path)/toolbox/Android.mk \ + $(commands_recovery_local_path)/libmincrypt/Android.mk ifeq ($(TW_INCLUDE_CRYPTO_SAMSUNG), true) include $(commands_recovery_local_path)/crypto/libcrypt_samsung/Android.mk |