From 0a8a7cebf154f7062174c4fac4a9c836038fbfbc Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 7 Nov 2016 22:00:06 -0600 Subject: Fix adb shell in 7.0 tree busybox sh does not seem to work properly in 7.0 trees so use mksh for sh instead. Change-Id: Ia33bc3894f929b1348c8714d4ddd00a2671c7e94 --- Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index 8456e840b..a73311e69 100644 --- a/Android.mk +++ b/Android.mk @@ -478,6 +478,9 @@ include $(CLEAR_VARS) # Create busybox symlinks... gzip and gunzip are excluded because those need to link to pigz instead BUSYBOX_LINKS := $(shell cat external/busybox/busybox-full.links) exclude := tune2fs mke2fs mkdosfs mkfs.vfat gzip gunzip +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 24; echo $$?),0) + exclude += sh +endif # Having /sbin/modprobe present on 32 bit devices with can cause a massive # performance problem if the kernel has CONFIG_MODULES=y -- cgit v1.2.3