From 35764fdce6c52cd9834a240f4d9e06687f161848 Mon Sep 17 00:00:00 2001 From: nkk71 Date: Tue, 19 Dec 2017 12:39:08 +0200 Subject: Relink adbd needed in android 8.1 * adbd no longer goes to root/sbin instead it's going to system/bin reference: https://github.com/omnirom/android_system_core/commit/93defc17f376041437e5157a7c4d9e0344441811 Change-Id: Ib2bc5e0bb3ac868741fa3feacac5ef68aa1daa4b --- prebuilt/Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'prebuilt') diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 7b950fcef..b54dda288 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -34,6 +34,9 @@ RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/pigz RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/fsck.fat RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/fatlabel RELINK_SOURCE_FILES += $(TARGET_RECOVERY_ROOT_OUT)/sbin/mkfs.fat +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 27; echo $$?),0) + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/adbd +endif RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/e2fsck RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/mke2fs RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/tune2fs -- cgit v1.2.3