summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2015-01-30 20:00:49 +0100
committerDees Troy <dees_troy@teamw.in>2015-07-14 16:48:43 +0200
commitec009e8cd45fafab8ba9458791f28d62d711d137 (patch)
treee746a6fa024d559a5dfebc95deac5a0b9b5c7516 /Android.mk
parentUpdate path for libcryptfs_hw to proper variable (diff)
downloadandroid_bootable_recovery-ec009e8cd45fafab8ba9458791f28d62d711d137.tar
android_bootable_recovery-ec009e8cd45fafab8ba9458791f28d62d711d137.tar.gz
android_bootable_recovery-ec009e8cd45fafab8ba9458791f28d62d711d137.tar.bz2
android_bootable_recovery-ec009e8cd45fafab8ba9458791f28d62d711d137.tar.lz
android_bootable_recovery-ec009e8cd45fafab8ba9458791f28d62d711d137.tar.xz
android_bootable_recovery-ec009e8cd45fafab8ba9458791f28d62d711d137.tar.zst
android_bootable_recovery-ec009e8cd45fafab8ba9458791f28d62d711d137.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 0f923a8cb..664c487e8 100644
--- a/Android.mk
+++ b/Android.mk
@@ -308,6 +308,9 @@ endif
ifneq ($(wildcard bionic/libc/include/sys/capability.h),)
LOCAL_CFLAGS += -DHAVE_CAPABILITIES
endif
+ifneq ($(TARGET_RECOVERY_INITRC),)
+ TW_EXCLUDE_DEFAULT_USB_INIT := true
+endif
LOCAL_ADDITIONAL_DEPENDENCIES := \
dump_image \
@@ -370,6 +373,9 @@ endif
ifeq ($(TW_INCLUDE_INJECTTWRP), true)
LOCAL_ADDITIONAL_DEPENDENCIES += injecttwrp
endif
+ifneq ($(TW_EXCLUDE_DEFAULT_USB_INIT), true)
+ LOCAL_ADDITIONAL_DEPENDENCIES += init.recovery.usb.rc
+endif
# Allow devices to specify device-specific recovery dependencies
ifneq ($(TARGET_RECOVERY_DEVICE_MODULES),)
LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_RECOVERY_DEVICE_MODULES)
@@ -503,7 +509,8 @@ include $(commands_recovery_local_path)/injecttwrp/Android.mk \
$(commands_recovery_local_path)/twrpTarMain/Android.mk \
$(commands_recovery_local_path)/mtp/Android.mk \
$(commands_recovery_local_path)/minzip/Android.mk \
- $(commands_recovery_local_path)/dosfstools/Android.mk
+ $(commands_recovery_local_path)/dosfstools/Android.mk \
+ $(commands_recovery_local_path)/etc/Android.mk
ifeq ($(TW_INCLUDE_CRYPTO), true)
include $(commands_recovery_local_path)/crypto/lollipop/Android.mk