summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-11-08 05:00:06 +0100
committerDees Troy <dees_troy@teamw.in>2016-11-30 16:47:20 +0100
commit0a8a7cebf154f7062174c4fac4a9c836038fbfbc (patch)
tree2d0cb1e3fa0ec58fa70d87c69a6133f80ba69f59 /prebuilt
parentCheck if mount point is dir during startup (diff)
downloadandroid_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar
android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.gz
android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.bz2
android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.lz
android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.xz
android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.tar.zst
android_bootable_recovery-0a8a7cebf154f7062174c4fac4a9c836038fbfbc.zip
Diffstat (limited to 'prebuilt')
-rw-r--r--prebuilt/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 169f87f89..a81781bf7 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -17,6 +17,9 @@ RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/erase_image
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/bu
ifneq ($(TW_USE_TOOLBOX), true)
RELINK_SOURCE_FILES += $(TARGET_OUT_OPTIONAL_EXECUTABLES)/busybox
+ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 24; echo $$?),0)
+ RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/sh
+ endif
else
RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/sh
RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libcrypto.so