Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3eec0ae2 authored by Koushik Dutta's avatar Koushik Dutta
Browse files

Prevent building of patch recovery if so desired.

parent 177e1959
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -978,11 +978,14 @@ else
$(INTERNAL_OTA_PACKAGE_TARGET): backuptool := $(TARGET_OTA_BACKUPTOOL)
endif

ifeq ($(TARGET_NO_RECOVERY),)
ifeq ($(TARGET_NO_RECOVERY),true)
    TARGET_OTA_NO_RECOVERY := true
endif
ifeq ($(TARGET_OTA_NO_RECOVERY),)
# default to "false"
$(INTERNAL_OTA_PACKAGE_TARGET): recoveryex := false
else
$(INTERNAL_OTA_PACKAGE_TARGET): recoveryex := $(TARGET_NO_RECOVERY)
$(INTERNAL_OTA_PACKAGE_TARGET): recoveryex := $(TARGET_OTA_NO_RECOVERY)
endif

ifeq ($(TARGET_OTA_ASSERT_DEVICE),)