summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-08-25 22:32:21 +0200
committerEthan Yonker <dees_troy@teamw.in>2016-08-25 22:36:13 +0200
commitf117962eb25bde75e981c3bff91ba708a55df65e (patch)
tree4d8565830b460a940ad33701e953d0371a0e5355 /prebuilt
parentUpdate to 7.0 (diff)
downloadandroid_bootable_recovery-f117962eb25bde75e981c3bff91ba708a55df65e.tar
android_bootable_recovery-f117962eb25bde75e981c3bff91ba708a55df65e.tar.gz
android_bootable_recovery-f117962eb25bde75e981c3bff91ba708a55df65e.tar.bz2
android_bootable_recovery-f117962eb25bde75e981c3bff91ba708a55df65e.tar.lz
android_bootable_recovery-f117962eb25bde75e981c3bff91ba708a55df65e.tar.xz
android_bootable_recovery-f117962eb25bde75e981c3bff91ba708a55df65e.tar.zst
android_bootable_recovery-f117962eb25bde75e981c3bff91ba708a55df65e.zip
Diffstat (limited to 'prebuilt')
-rw-r--r--prebuilt/Android.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index c5b46dfbb..538be7177 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -117,8 +117,10 @@ else
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcorkscrew.so
endif
endif
-#RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libmincrypttwrp.so
-#RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/toolbox
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 24; echo $$?),0)
+ RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libmincrypttwrp.so
+endif
+RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/toolbox
ifneq ($(TW_OEM_BUILD),true)
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/twrp
else