diff --git a/core/Makefile b/core/Makefile index 7e7dd7743f..055372fb1a 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1608,7 +1608,7 @@ endif ifeq ($(AB_OTA_UPDATER),true) @# When using the A/B updater, include the updater config files in the zip. $(hide) $(ACP) $(TOPDIR)system/update_engine/update_engine.conf $(zip_root)/META/update_engine_config.txt - $(hide) for part in $(UPDATE_AB_PARTITIONS); do \ + $(hide) for part in $(AB_OTA_PARTITIONS); do \ echo "$${part}" >> $(zip_root)/META/ab_partitions.txt; \ done ifdef OSRELEASED_DIRECTORY