summaryrefslogtreecommitdiffstats
path: root/toolbox/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox/Android.mk')
-rw-r--r--toolbox/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk
index 4698cd250..dc4252da7 100644
--- a/toolbox/Android.mk
+++ b/toolbox/Android.mk
@@ -220,10 +220,12 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 22; echo $$?),0)
# which takes up more space than is necessary so long as we are still
# including busybox.
LOCAL_SRC_FILES += \
- ../../../$(TWRP_TOOLBOX_PATH)/dynarray.c \
../../../$(TWRP_TOOLBOX_PATH)/getprop.c \
../../../$(TWRP_TOOLBOX_PATH)/setprop.c
OUR_TOOLS += getprop setprop
+ ifneq ($(TW_USE_TOOLBOX), true)
+ LOCAL_SRC_FILES += ls.c
+ endif
endif
LOCAL_MODULE := toolbox_recovery