Add option to build TWRP with toolbox instead of busybox
Makes a smaller TWRP
Uses mksh for shell
Change-Id: If78d7745dda8919fcb2e9c9b60c6696063c14114
diff --git a/Android.mk b/Android.mk
index c54f8c0..2f1f6fc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -284,6 +284,7 @@
include $(BUILD_EXECUTABLE)
+ifneq ($(TW_USE_TOOLBOX), true)
include $(CLEAR_VARS)
# Create busybox symlinks... gzip and gunzip are excluded because those need to link to pigz instead
BUSYBOX_LINKS := $(shell cat external/busybox/busybox-full.links)
@@ -301,6 +302,7 @@
$(hide) ln -sf $(BUSYBOX_BINARY) $@
ALL_DEFAULT_INSTALLED_MODULES += $(RECOVERY_BUSYBOX_SYMLINKS)
+endif
include $(CLEAR_VARS)
LOCAL_MODULE := verifier_test