Add exclusion criteria for "Fix Recovery Bootloop"

Should only be included on devices that use initramfs,
i.e. legacy SAR, recovery-in-boot

Change-Id: I2408fcd993e1e381f49b3d5ae860694b2fade4d2
This commit is contained in:
Captain Throwback
2021-09-16 10:42:06 -04:00
parent 529789380b
commit bc2cfa36ec
5 changed files with 14 additions and 1 deletions
+6
View File
@@ -193,6 +193,12 @@ endif
ifeq ($(TW_EXCLUDE_MTP),)
LOCAL_SHARED_LIBRARIES += libtwrpmtp-ffs
endif
ifeq ($(BOARD_USES_RECOVERY_AS_BOOT), true)
LOCAL_CFLAGS += -DBOARD_USES_RECOVERY_AS_BOOT
endif
ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE), true)
LOCAL_CFLAGS += -DBOARD_BUILD_SYSTEM_ROOT_IMAGE
endif
#TWRP Build Flags
ifeq ($(TW_EXCLUDE_MTP),)