From 95e8007578193422ef7fe2d098b80e8ba99fc48d Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 24 Aug 2017 21:45:50 -0500 Subject: DO NOT MERGE Android 8.0 stuff Change-Id: I8c8a9734adbf36c33463123844fa6e078934ae34 --- toolbox/Android.mk | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'toolbox') 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 += \ -- cgit v1.2.3