summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorHashcode <hashcode0f@gmail.com>2016-12-20 01:30:49 +0100
committerD. Andrei Măceș <dmaces@nd.edu>2017-01-12 18:50:18 +0100
commit57332151129716bf6edf2792226ae4f1622fa93b (patch)
tree44c4da94ae756baa93af46b1c594d806c8822f45 /prebuilt
parentupdater: link libcrypto_utils_static if it exist (diff)
downloadandroid_bootable_recovery-57332151129716bf6edf2792226ae4f1622fa93b.tar
android_bootable_recovery-57332151129716bf6edf2792226ae4f1622fa93b.tar.gz
android_bootable_recovery-57332151129716bf6edf2792226ae4f1622fa93b.tar.bz2
android_bootable_recovery-57332151129716bf6edf2792226ae4f1622fa93b.tar.lz
android_bootable_recovery-57332151129716bf6edf2792226ae4f1622fa93b.tar.xz
android_bootable_recovery-57332151129716bf6edf2792226ae4f1622fa93b.tar.zst
android_bootable_recovery-57332151129716bf6edf2792226ae4f1622fa93b.zip
Diffstat (limited to 'prebuilt')
-rw-r--r--prebuilt/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 3206346e0..0356197da 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -23,7 +23,7 @@ ifneq ($(TW_USE_TOOLBOX), true)
else
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/sh
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcrypto.so
- ifneq (,$(filter $(PLATFORM_SDK_VERSION), 23))
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 23; echo $$?),0)
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/toybox
ifneq ($(wildcard external/zip/Android.mk),)
RELINK_SOURCE_FILES += $(TARGET_OUT_OPTIONAL_EXECUTABLES)/zip