summaryrefslogtreecommitdiffstats
path: root/prebuilt/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-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