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
gugelfrei
Michael Bestas 7 years ago
parent 32378953b7
commit beb05c82a3

@ -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

@ -0,0 +1,2 @@
RECOVERY_VARIANT := twrp
TW_EXCLUDE_SUPERSU := true
Loading…
Cancel
Save