config: Set some default TWRP flags

When WITH_TWRP=true is set:
* Set recovery variant to TWRP, it should be synced
  under bootable/recovery-twrp in Lineage
* Exclude SuperSU, we have our own su solution

Change-Id: I5e5e6f2b42282c4666cdc013405a1488a9c6341d
This commit is contained in:
Michael Bestas 2017-07-18 19:57:26 +03:00
parent 32378953b7
commit beb05c82a3
2 changed files with 7 additions and 0 deletions

View File

@ -92,6 +92,11 @@ ifneq ($(TARGET_DISABLE_CMSDK), true)
include vendor/cm/config/cmsdk_common.mk
endif
# TWRP
ifeq ($(WITH_TWRP),true)
include vendor/cm/config/twrp.mk
endif
# Bootanimation
PRODUCT_PACKAGES += \
bootanimation.zip

2
config/twrp.mk Normal file
View File

@ -0,0 +1,2 @@
RECOVERY_VARIANT := twrp
TW_EXCLUDE_SUPERSU := true