summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2017-01-08 20:32:18 +0100
committerMatt Mower <mowerm@gmail.com>2017-01-18 20:04:35 +0100
commit840576155a514163bbd3a7fa35b99f4011c3a655 (patch)
tree271af3f24c6e92e29e6acfbfbceea0bb18d314c3 /gui
parentMove pigz symlinks out of GUI makefile (diff)
downloadandroid_bootable_recovery-840576155a514163bbd3a7fa35b99f4011c3a655.tar
android_bootable_recovery-840576155a514163bbd3a7fa35b99f4011c3a655.tar.gz
android_bootable_recovery-840576155a514163bbd3a7fa35b99f4011c3a655.tar.bz2
android_bootable_recovery-840576155a514163bbd3a7fa35b99f4011c3a655.tar.lz
android_bootable_recovery-840576155a514163bbd3a7fa35b99f4011c3a655.tar.xz
android_bootable_recovery-840576155a514163bbd3a7fa35b99f4011c3a655.tar.zst
android_bootable_recovery-840576155a514163bbd3a7fa35b99f4011c3a655.zip
Diffstat (limited to 'gui')
-rw-r--r--gui/Android.mk11
1 files changed, 0 insertions, 11 deletions
diff --git a/gui/Android.mk b/gui/Android.mk
index b21c9f424..8361bcbb4 100644
--- a/gui/Android.mk
+++ b/gui/Android.mk
@@ -141,22 +141,11 @@ endif
TWRP_RES += $(TW_ADDITIONAL_RES)
TWRP_RES_GEN := $(intermediates)/twrp
-ifneq ($(TW_USE_TOOLBOX), true)
- TWRP_SH_TARGET := /sbin/busybox
-else
- TWRP_SH_TARGET := /sbin/mksh
-endif
-
$(TWRP_RES_GEN):
mkdir -p $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
cp -fr $(TWRP_RES) $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
cp -fr $(TWRP_THEME_LOC)/* $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/sbin/
-ifneq ($(TW_USE_TOOLBOX), true)
-ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 24; echo $$?),0)
- ln -sf $(TWRP_SH_TARGET) $(TARGET_RECOVERY_ROOT_OUT)/sbin/sh
-endif
-endif
LOCAL_GENERATED_SOURCES := $(TWRP_RES_GEN)
LOCAL_SRC_FILES := twrp $(TWRP_RES_GEN)