Fix recovery-twrp in some old CM trees

Change-Id: Ie401ab8ec39b721c3747475bcc8269f78963d31c
This commit is contained in:
Ethan Yonker
2019-04-04 10:06:41 -05:00
parent b1a7ae9cd9
commit f0a7e59668
+7
View File
@@ -24,6 +24,13 @@ else
ifeq ($(LOCAL_PATH),bootable/recovery)
PROJECT_PATH_AGREES := true
BOARD_SEPOLICY_DIRS += bootable/recovery/sepolicy
else
ifeq ($(LOCAL_PATH),bootable/recovery-twrp)
ifeq ($(RECOVERY_VARIANT),twrp)
PROJECT_PATH_AGREES := true
BOARD_SEPOLICY_DIRS += bootable/recovery-twrp/sepolicy
endif
endif
endif
endif