From e5a288c96b33b56c15ba445daf0303d4215d424a Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 15 Feb 2016 09:23:57 -0600 Subject: Fix up logd make file rules logd, the init.recovery.logd.rc, and other related files were included by default if your device configs specified TARGET_USES_LOGD := true which would be the case for any device that has a full ROM tree instead of a minimal TWRP tree. Change-Id: Ia1e55703631f0f22beab2f4d4479599b88539e1a --- prebuilt/Android.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'prebuilt') diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 949e359c7..44767014f 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -216,13 +216,13 @@ ifeq ($(BOARD_HAS_NO_REAL_SDCARD),) RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/sgdisk endif endif -ifeq ($(TARGET_USES_LOGD), true) - RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/logd - RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsysutils.so - RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libnl.so -endif ifeq ($(TWRP_INCLUDE_LOGCAT), true) RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/logcat + ifeq ($(TARGET_USES_LOGD), true) + RELINK_SOURCE_FILES += $(TARGET_OUT_EXECUTABLES)/logd + RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsysutils.so + RELINK_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libnl.so + endif endif TWRP_AUTOGEN := $(intermediates)/teamwin -- cgit v1.2.3