summaryrefslogtreecommitdiffstats
path: root/prebuilt/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-04-04 18:26:32 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-04-04 18:28:14 +0200
commit5c9336924f33408cf30747298968be6b0123213f (patch)
treee84af69b6dbf967c9a4122c6d855f956f6678533 /prebuilt/Android.mk
parentAllow building of an OEM friendly TWRP (diff)
downloadandroid_bootable_recovery-5c9336924f33408cf30747298968be6b0123213f.tar
android_bootable_recovery-5c9336924f33408cf30747298968be6b0123213f.tar.gz
android_bootable_recovery-5c9336924f33408cf30747298968be6b0123213f.tar.bz2
android_bootable_recovery-5c9336924f33408cf30747298968be6b0123213f.tar.lz
android_bootable_recovery-5c9336924f33408cf30747298968be6b0123213f.tar.xz
android_bootable_recovery-5c9336924f33408cf30747298968be6b0123213f.tar.zst
android_bootable_recovery-5c9336924f33408cf30747298968be6b0123213f.zip
Diffstat (limited to 'prebuilt/Android.mk')
-rw-r--r--prebuilt/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index b5da5a903..1f784d359 100644
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -13,7 +13,11 @@ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dump_image
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/flash_image
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/erase_image
-RELINK_SOURCE_FILES += $(TARGET_OUT_OPTIONAL_EXECUTABLES)/busybox
+ifneq ($(TW_USE_TOOLBOX), true)
+ RELINK_SOURCE_FILES += $(TARGET_OUT_OPTIONAL_EXECUTABLES)/busybox
+else
+ RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mksh
+endif
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/pigz
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dosfsck
RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/dosfslabel