File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6109,6 +6109,12 @@ ifeq ($(AB_OTA_UPDATER),true)
6109
6109
$(BUILT_TARGET_FILES_DIR ) : $(TARGET_OUT_OEM ) /$(OSRELEASED_DIRECTORY ) /product_version
6110
6110
$(BUILT_TARGET_FILES_DIR ) : $(TARGET_OUT_ETC ) /$(OSRELEASED_DIRECTORY ) /system_version
6111
6111
endif
6112
+
6113
+ # Not checking in board_config.mk, since AB_OTA_PARTITIONS may be updated in Android.mk (e.g. to
6114
+ # additionally include radio or bootloader partitions).
6115
+ ifeq ($(AB_OTA_PARTITIONS),)
6116
+ $(error AB_OTA_PARTITIONS must be defined when using AB_OTA_UPDATER)
6117
+ endif
6112
6118
endif
6113
6119
6114
6120
ifneq ($(AB_OTA_PARTITIONS ) ,)
Original file line number Diff line number Diff line change @@ -923,9 +923,7 @@ endif
923
923
# ##########################################
924
924
# Ensure consistency among TARGET_RECOVERY_UPDATER_LIBS, AB_OTA_UPDATER, and PRODUCT_OTA_FORCE_NON_AB_PACKAGE.
925
925
TARGET_RECOVERY_UPDATER_LIBS ?=
926
- ifeq ($(AB_OTA_UPDATER ) ,)
927
- AB_OTA_UPDATER := true
928
- endif
926
+ AB_OTA_UPDATER ?=
929
927
.KATI_READONLY := TARGET_RECOVERY_UPDATER_LIBS AB_OTA_UPDATER
930
928
931
929
# Ensure that if PRODUCT_OTA_FORCE_NON_AB_PACKAGE == true, then AB_OTA_UPDATER must be true
You can’t perform that action at this time.
0 commit comments