aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index d9d7d3f2eb..df62985173 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -2578,9 +2578,11 @@ endif
ifeq ($(TARGET_NO_KERNEL),true)
build_ota_package := false
endif
+ifneq (,$(INSTALLED_RECOVERYIMAGE_TARGET)$(filter true,$(BOARD_USES_RECOVERY_AS_BOOT)))
ifeq ($(recovery_fstab),)
build_ota_package := false
endif
+endif
ifeq ($(TARGET_BUILD_PDK),true)
build_ota_package := false
endif