summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-02-15 16:23:57 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-02-15 16:27:02 +0100
commite5a288c96b33b56c15ba445daf0303d4215d424a (patch)
treea4ccc6f84538114f96cb400726073003e1a7f3bf /etc
parentFix no exfat-fuse rules (diff)
downloadandroid_bootable_recovery-e5a288c96b33b56c15ba445daf0303d4215d424a.tar
android_bootable_recovery-e5a288c96b33b56c15ba445daf0303d4215d424a.tar.gz
android_bootable_recovery-e5a288c96b33b56c15ba445daf0303d4215d424a.tar.bz2
android_bootable_recovery-e5a288c96b33b56c15ba445daf0303d4215d424a.tar.lz
android_bootable_recovery-e5a288c96b33b56c15ba445daf0303d4215d424a.tar.xz
android_bootable_recovery-e5a288c96b33b56c15ba445daf0303d4215d424a.tar.zst
android_bootable_recovery-e5a288c96b33b56c15ba445daf0303d4215d424a.zip
Diffstat (limited to 'etc')
-rw-r--r--etc/Android.mk31
1 files changed, 16 insertions, 15 deletions
diff --git a/etc/Android.mk b/etc/Android.mk
index ac6f813bb..5e612b63e 100644
--- a/etc/Android.mk
+++ b/etc/Android.mk
@@ -31,19 +31,20 @@ include $(BUILD_PREBUILT)
endif
-ifeq ($(TARGET_USES_LOGD), true)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := init.recovery.logd.rc
-LOCAL_MODULE_TAGS := eng
-LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
-
-# Cannot send to TARGET_RECOVERY_ROOT_OUT since build system wipes init*.rc
-# during ramdisk creation and only allows init.recovery.*.rc files to be copied
-# from TARGET_ROOT_OUT thereafter
-LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
-
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
-include $(BUILD_PREBUILT)
-
+ifeq ($(TWRP_INCLUDE_LOGCAT), true)
+ ifeq ($(TARGET_USES_LOGD), true)
+
+ include $(CLEAR_VARS)
+ LOCAL_MODULE := init.recovery.logd.rc
+ LOCAL_MODULE_TAGS := eng
+ LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+
+ # Cannot send to TARGET_RECOVERY_ROOT_OUT since build system wipes init*.rc
+ # during ramdisk creation and only allows init.recovery.*.rc files to be copied
+ # from TARGET_ROOT_OUT thereafter
+ LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
+
+ LOCAL_SRC_FILES := $(LOCAL_MODULE)
+ include $(BUILD_PREBUILT)
+ endif
endif