summaryrefslogtreecommitdiffstats
path: root/toybox
diff options
context:
space:
mode:
authorD. Andrei Măceș <dmaces@nd.edu>2016-12-22 23:14:21 +0100
committerDees Troy <dees_troy@teamw.in>2017-02-23 16:00:44 +0100
commit9ce12ec20d8655fe602de91de8152bba07d7054c (patch)
treeb6a08a1b2c27c9be1d596c00ef5dc6ae3769dbec /toybox
parentFix "ordered comparison between pointer and zero". (diff)
downloadandroid_bootable_recovery-9ce12ec20d8655fe602de91de8152bba07d7054c.tar
android_bootable_recovery-9ce12ec20d8655fe602de91de8152bba07d7054c.tar.gz
android_bootable_recovery-9ce12ec20d8655fe602de91de8152bba07d7054c.tar.bz2
android_bootable_recovery-9ce12ec20d8655fe602de91de8152bba07d7054c.tar.lz
android_bootable_recovery-9ce12ec20d8655fe602de91de8152bba07d7054c.tar.xz
android_bootable_recovery-9ce12ec20d8655fe602de91de8152bba07d7054c.tar.zst
android_bootable_recovery-9ce12ec20d8655fe602de91de8152bba07d7054c.zip
Diffstat (limited to 'toybox')
-rw-r--r--toybox/Android.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/toybox/Android.mk b/toybox/Android.mk
index b34c2c301..c4f0395f7 100644
--- a/toybox/Android.mk
+++ b/toybox/Android.mk
@@ -190,8 +190,8 @@ LOCAL_SRC_FILES := \
toys/posix/wc.c \
toys/posix/xargs.c
-ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 24; echo $$?),0)
-# there are some conflicts here with AOSP-7.1 and CM-14.1
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 23; echo $$?),0)
+# there are some conflicts here with AOSP-7.[01] and CM-14.[01]
# the following items have been removed for compatibility
# ifconfig, netcat, netstat, rfkill, switch_root
LOCAL_STATIC_LIBRARIES := libcrypto_static
@@ -408,7 +408,7 @@ ALL_TOOLS := \
xargs \
yes
-ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 24; echo $$?),0)
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 23; echo $$?),0)
ALL_TOOLS += \
arp \
base64 \
@@ -416,7 +416,6 @@ ALL_TOOLS += \
dd \
df \
diff \
- du \
egrep \
fgrep \
flock \
@@ -469,6 +468,10 @@ ALL_TOOLS += \
watch \
xxd \
xzcat
+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 24; echo $$?),0)
+ALL_TOOLS += \
+ du
+endif
# Account for master branch changes pulld into CM14.1
ifneq ($(CM_BUILD),)
ALL_TOOLS += \