summaryrefslogtreecommitdiffstats
path: root/toolbox/Android.mk
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-01-22 18:32:57 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-01-22 18:34:10 +0100
commit916cae8fa3a451c4fc802814cc9f118ad4fb9512 (patch)
treea47e14ae3b2e7fa263879a1d44663b72a462e871 /toolbox/Android.mk
parentAdd zip and unzip when using toybox (diff)
downloadandroid_bootable_recovery-916cae8fa3a451c4fc802814cc9f118ad4fb9512.tar
android_bootable_recovery-916cae8fa3a451c4fc802814cc9f118ad4fb9512.tar.gz
android_bootable_recovery-916cae8fa3a451c4fc802814cc9f118ad4fb9512.tar.bz2
android_bootable_recovery-916cae8fa3a451c4fc802814cc9f118ad4fb9512.tar.lz
android_bootable_recovery-916cae8fa3a451c4fc802814cc9f118ad4fb9512.tar.xz
android_bootable_recovery-916cae8fa3a451c4fc802814cc9f118ad4fb9512.tar.zst
android_bootable_recovery-916cae8fa3a451c4fc802814cc9f118ad4fb9512.zip
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