summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/Android.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/toolbox/Android.mk b/toolbox/Android.mk
index 45edd01c7..b8f4d2e74 100644
--- a/toolbox/Android.mk
+++ b/toolbox/Android.mk
@@ -47,14 +47,14 @@ ifeq ($(TW_USE_TOOLBOX), true)
$(if $(filter $(PLATFORM_SDK_VERSION), 23 24), du)
OUR_TOOLS := \
- iftop \
- ioctl \
- nandread \
+ $(if $(shell test $(PLATFORM_SDK_VERSION) -lt 26; iftop),) \
+ $(if $(shell test $(PLATFORM_SDK_VERSION) -lt 26; ioctl),) \
+ $(if $(shell test $(PLATFORM_SDK_VERSION) -lt 26; nandread),) \
newfs_msdos \
- prlimit \
- sendevent \
- start \
- stop \
+ $(if $(shell test $(PLATFORM_SDK_VERSION) -lt 26; prlimit),) \
+ $(if $(shell test $(PLATFORM_SDK_VERSION) -lt 26; sendevent),) \
+ $(if $(shell test $(PLATFORM_SDK_VERSION) -lt 26; start),) \
+ $(if $(shell test $(PLATFORM_SDK_VERSION) -lt 26; stop),) \
ifneq (,$(filter $(PLATFORM_SDK_VERSION), 23))
BSD_TOOLS += \