summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 5a7ddd2f3f..80ad33c8d6 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -6181,11 +6181,14 @@ endef
built_ota_tools :=
+
# We can't build static executables when SANITIZE_TARGET=address
ifeq (,$(filter address, $(SANITIZE_TARGET)))
+ifeq (false,$(AB_OTA_UPDATER))
built_ota_tools += \
$(call intermediates-dir-for,EXECUTABLES,updater)/updater
endif
+endif
$(BUILT_TARGET_FILES_DIR): PRIVATE_OTA_TOOLS := $(built_ota_tools)